Remove unused constructor arg from UserDestinationMH

This commit is contained in:
Rossen Stoyanchev
2014-01-22 11:54:45 -05:00
parent 499c858cd4
commit 8ee2a2d18c
4 changed files with 6 additions and 14 deletions

View File

@@ -435,9 +435,8 @@ class MessageBrokerBeanDefinitionParser implements BeanDefinitionParser {
ConstructorArgumentValues cavs = new ConstructorArgumentValues();
cavs.addIndexedArgumentValue(0, clientInChannelDef);
cavs.addIndexedArgumentValue(1, clientOutChannelDef);
cavs.addIndexedArgumentValue(2, brokerChannelDef);
cavs.addIndexedArgumentValue(3, userDestinationResolverRef);
cavs.addIndexedArgumentValue(1, brokerChannelDef);
cavs.addIndexedArgumentValue(2, userDestinationResolverRef);
RootBeanDefinition userDestinationMessageHandlerDef =
new RootBeanDefinition(UserDestinationMessageHandler.class, cavs, null);