Hello,

I need to cluster my camel server and be able to simple restart the
service if a crash ocured. But I cannot figure out how to configure my
camel-quartz triggers to resume simply after a restart.
Or even worst, how to start the multiple instances of my cluster.

I always get the ObjectAlreadyExistsException from quartz.
For me it looks like that the camel-quartz component doesn't handle the
resume properly.

Normaly I would expected that
"quartz://groupname/mytimer?job.volatile=true&cron=1/5+*+*+*+*+?" would
work.
But I get an NotSerializableException due to that CamelJob is not
serializable to be stored into the db.

So I tried "quartz://groupname/mytimer?stateful=true&cron=1/5+*+*+*+*+?"
this works the first time I start the server. But starting another
server or restart the same instance an ObjectAlreadyExistsException is
thrown.

I consult google but I cannot really find any example on how to cluster
quartz with the camel-quartz component.

So my question is: Do I miss any obviously or do I have to dig into
camel-quartz code and enhance it for clustering?

Regards

Ingo

Btw. beside a few changes according to JDBC configuration I use the
quartz.properties from the quartz cluster example.




Reply via email to