Hello guys
Working with SI 2.0.5 and doing some experiments with routers, I found out the follow situation
If I use
work fineCode:<int:recipient-list-router input-channel="inicio" > <int:recipient channel="dvdChannel" /> <int:recipient channel="instrumentoMusicalChannel"/> </int:recipient-list-router>
But if I add an available attribute called output-channel, which STS 2.7.0 let me select and configure
I receive insteadCode:<int:channel id="prefinal" /> <int:recipient-list-router input-channel="inicio" output-channel="prefinal"> <int:recipient channel="dvdChannel" /> <int:recipient channel="instrumentoMusicalChannel"/> </int:recipient-list-router>
Is it a bug?Code:Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.integration.router.RecipientListRouter#0': Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'outputChannel' of bean class [org.springframework.integration.router.RecipientListRouter]: Bean property 'outputChannel' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter? at ... Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'outputChannel' of bean class [org.springframework.integration.router.RecipientListRouter]: Bean property 'outputChannel' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter? at ...


Reply With Quote