Fix samples to accommodate changes to XSD

This commit is contained in:
Dave Syer
2011-03-24 08:30:05 +00:00
parent dcab11ae2d
commit a0074a67fb
6 changed files with 59 additions and 33 deletions

View File

@@ -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;
}