package com.ks.lijin.config;
|
|
import org.slf4j.Logger;
|
import org.slf4j.LoggerFactory;
|
import org.springframework.context.annotation.Configuration;
|
|
@Configuration
|
public class CMQConsumeConfig {
|
|
Logger log = LoggerFactory.getLogger(CMQConsumeConfig.class);
|
//
|
//
|
// @Bean(initMethod = "start", destroyMethod = "destroy")
|
// public CMQConsumeRunner activityConsumer() {
|
// CMQConsumeRunner runner = new ActivityConsumer();
|
// return runner;
|
// }
|
//
|
// @Bean(initMethod = "start", destroyMethod = "destroy")
|
// public CMQConsumeRunner recieveOutDateConsumer() {
|
// CMQConsumeRunner runner = new AcitivtyDrawnRecieveOutDateConsumer();
|
// return runner;
|
// }
|
//
|
// @Bean(initMethod = "start", destroyMethod = "destroy")
|
// public CMQConsumeRunner job() {
|
// CMQConsumeRunner runner = new JobConsumer();
|
// return runner;
|
// }
|
|
|
}
|