package com.fs;

import org.apache.rocketmq.spring.autoconfigure.RocketMQAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 启动程序
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@Import({ RocketMQAutoConfiguration.class })
@EnableTransactionManagement
@EnableAsync
@EnableScheduling
public class FsLiveMqApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(FsLiveMqApplication.class, args);
        System.out.println("live-mq启动成功");
    }
}
