Fix samples to accommodate changes to XSD
This commit is contained in:
@@ -13,7 +13,7 @@ public class ConsumerConfiguration extends HelloWorldConfiguration {
|
||||
public SimpleMessageListenerContainer listenerContainer() {
|
||||
SimpleMessageListenerContainer container = new SimpleMessageListenerContainer();
|
||||
container.setConnectionFactory(connectionFactory());
|
||||
container.setQueueName(this.helloWorldQueueName);
|
||||
container.setQueueNames(this.helloWorldQueueName);
|
||||
container.setMessageListener(new MessageListenerAdapter(new HelloWorldHandler()));
|
||||
return container;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user