camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gert Villemos <gville...@gmail.com>
Subject High accuracy scheduler
Date Wed, 20 Mar 2013 16:54:48 GMT
I need to create a schedule, i.e. a list of messages with a specific delivery
time, with 100s of milliseconds accuracy. The route has only one recipent.

Currently I have implemented it using ActiveMQ and the AMY_SCHEDULED_DELAY.
The scheduling is working, but the accuracy is poor; the messages get
delivered out of order (not much, but sometimes upto a few seconds, which is
enough to upset my schedule).

I have checked my code and it seem ok. The list gets generated with the
right timestamps. The AMY_SCHEDULED_DELAY get set correctly.

Before I go an implement my own bean for this; Is there another way way to
schedule messages for delivery?

What I need is a single route where;
0. From an activemq with an event.
1. One split bean/method will generate a List (the schedule). Each element
will have a time for delivery.
2. The messages thereafter get parsed on in the route at their scheduled
delivery time.



--
View this message in context: http://camel.465427.n5.nabble.com/High-accuracy-scheduler-tp5729530.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message