Migrate some code from prototype
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package demo;
|
||||
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.builder.SpringApplicationBuilder;
|
||||
import org.springframework.bus.runner.EnableMessageBus;
|
||||
import org.springframework.context.annotation.ImportResource;
|
||||
import org.springframework.context.annotation.PropertySource;
|
||||
|
||||
@SpringBootApplication
|
||||
@EnableMessageBus
|
||||
@ImportResource("classpath:/config/ticker.xml")
|
||||
@PropertySource("classpath:/config/ticker.properties")
|
||||
public class ModuleApplication {
|
||||
|
||||
public static void main(String[] args) throws InterruptedException {
|
||||
new SpringApplicationBuilder().sources(ModuleApplication.class).run(args);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user