Welcome to the new Spring.io forums!
If this is your first visit, be sure to check out the
by clicking the link above, and for security reasons, use the
forgot password link to reset your password..
You may have to register before you can post: click the register
link above to proceed. To start viewing messages, select the forum that you want to visit
from the selection below.
No announcement yet.
SI Aggregator - Timeout release strategyPage Title Module
I don't get what you mean, haven't you defined the correlation strategy bean in the xml file too?
I have already made a seprate java bean for correlation strategy and passes it reference in the xml configuration file itself, Now I want it completeley in xml configuration file itself ..no java bean I want to keep ..!!
You can configure it via the correlation-strategy-expression attribute (correlation logic via a SpEL expression) instead of correlation-strategy attribute. Something like (example taken from reference manual)
Here you don't have to write beans, you can use SpEL to define your correlation and release strategy
Other thing that I observe is that with MessageGroupStoreReaper we can use MethodInvokingReleaseStrategy instead of TimeoutCountSequenceSizeReleaseStrategy. Write a bean and method that always return false. (I want all the messages to be released / expired at fixed interval)