This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.
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)