Hi All, 

I have a requirement to generate JMS events based on updates to JPA entities
in a database by a separate application.

I currently have a proof of concept camel route up and running using the JPA
consumer to poll the database and query for unprocessed records. 

The issue we have however is that we are deploying our Apache Camel
application into a cluster of 8 servers and need to ensure that each record
is only processed once.

As such I was hoping that I could utilise a clustered quartz scheduler with
JDBC job store to ensure that the polling only occurs on a single node
within the cluster whilst still allowing for High Availability via failover
etc.

Can you please advise if it is possible to either: 

a) Configure the polling behavior of the JPA component to be triggered from
a clustered quartz job?
b) Trigger the JPA consumer query from the camel-quartz component using a
clustered scheduler?

Any assistance you could provide would be much appreciated. 

Thanks,
Patrick Bray



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-JPA-Clustered-Deployment-Quartz-Scheduling-tp5733292.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to