I have requirements where users create requests to be sent to list of
services for processing. Request parameters define the target service. These
services are also asynchronous. So I need to periodically call a results
service to check if results are ready. Then I can get it to continue my
flow.What I have done, is storing new requests created by users in a DB
table. To get the results I used camel to define a route that periodically
grab some of these requests, call results services and if they are ready the
route get them, parse data and apply the rest of the process.This approach
is working fine, but the problem is that one of our environment is using two
servers to balance the load. So I am going to have two camel routes doing
the same job. Is there any way to synchronize the work of these two routes
together so they don't override each other work?Thanks and appreciate your
help



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

Reply via email to