camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amitkumar <amitku...@yahoo.com>
Subject Implementing Cron based Aggregator with selective message type
Date Tue, 27 May 2014 07:15:15 GMT
Hi
I looked at the https://camel.apache.org/aggregator2.html for quartz based
aggregation options, couldn't find any and finally resorted to a hack. I
created a Quartz Job which would use the signal pattern viz.
Exchange.AGGREGATION_COMPLETE_ALL_GROUPS.
1) Are there better ways or why did we not provide quartz option./The fixed
delay option is not clean either because depending on the startup time it
would change and we calculate. Also we need to skip on weekends and quarter
ends./
2) I have more than 1 type of messages in the queue, some needs to be
aggregated at time T1 and others and T2. With the above hack all my messages
are flushed. How do we achieve the same.
Thanks



--
View this message in context: http://camel.465427.n5.nabble.com/Implementing-Cron-based-Aggregator-with-selective-message-type-tp5751605.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message