messageListenerContainer(queue).start();}
public SimpleMessageListenerContainer messageListenerContainer(String queue) SimpleMessageListenerContainer container = new SimpleMessageListenerContainer(consumerConnectionFactory我们一开始就是这么做的 public <e
我们创建了如下所示的bean public SimpleMessageListenerContainerSimpleMessageListenerContainer() {SimpleMessageListenerContainer container = new SimpleMessageListenerContainer(rabbitConnectionFactory日志:
2018-02-13 13:07:11.137 INFO 13412 --- [on(9)-127.0.0.1] o.s.a