INT-1952 fixed ConsumerEndpointFactoryBean to ensure the Polling Consumer is created with propper ErrorHandler

This commit is contained in:
Oleg Zhurakousky
2011-06-24 11:59:05 -04:00
parent d5bb9a8297
commit bad2debbf7
3 changed files with 27 additions and 0 deletions

View File

@@ -185,6 +185,8 @@ public class ConsumerEndpointFactoryBean
pollingConsumer.setAdviceChain(this.pollerMetadata.getAdviceChain());
pollingConsumer.setMaxMessagesPerPoll(this.pollerMetadata.getMaxMessagesPerPoll());
pollingConsumer.setErrorHandler(this.pollerMetadata.getErrorHandler());
pollingConsumer.setReceiveTimeout(this.pollerMetadata.getReceiveTimeout());
pollingConsumer.setBeanClassLoader(beanClassLoader);
pollingConsumer.setBeanFactory(beanFactory);