amq.example.springboot.AppStart Maven / Gradle / Ivy
The newest version!
package amq.example.springboot;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
/**
* @author leeon
*/
@ComponentScan(basePackages = "amq.example.springboot")
@SpringBootApplication
public class AppStart {
/**
* 启动项目前.请先运行MQ 服务器: {@link com.artfii.amq.core.AioMqServer}
* @param args
* @throws Exception
*/
public static void main(String[] args) {
SpringApplication.run(AppStart.class, args);
}
}