Sep 8th, 2011, 02:17 PM
send-timeout is not working in Aggregator
I am using the below code in my xml. The issue i am facing is that messages are still being processed even after timeout. They are not being discarded.
<code> <aggregator input-channel="aggregationChannel" output-channel="inputChannel" discard-channel="errorChannel" send-timeout="60000"
send-partial-result-on-expiry="false" correlation-strategy="correlationStrategyBean" correlation-strategy-method="correlate"
release-strategy = "releaseStrategyBean" release-strategy-method = "canRelease" ref="aggregatorBean"></code>
Would be really helpful if someone can point me out what i am missing.
Thanks and Regards,
Sep 9th, 2011, 05:44 AM
The send-timeout is used to determine the timeout when sending the completed group on to the output-channel or messages to the discard-channel.
I suspect you want a reaper, details of which can be found in the reference documents here http://static.springsource.org/sprin...ingle/#d4e1543.