camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fherpertz <>
Subject Re: Camel Quartz2 Clustering fails due to durable jobs, has anyone got
Date Fri, 28 Feb 2014 13:43:55 GMT

I have a similiar problem and I tried to track it down. 

After some time of work and testing several possibilities I took a look at
the Quartz 2.2.0 sources and at the migration guide from quartz to quartz2. 

On the quartz homepage in the  Migration guide
<>   you
find the following section: 

Example old code:

New code:

As you see, the setter for the durability is not used anymore. When taking a
closer look into the JavaDoc it becomes clear that the setter for durablity
was removed from Version 2.0 onwards. 

This here is the solution which can be found on the internet when you google
the issue we are experiencing: 

The solution above will not work anymore, as the setter for the durability
is not available anymore.  See here
The solution above is only aplicable if you use camel-quartz instead of

I tried to use the option storeDurably in the route, but this is not working
either, as this methode is in the JobBuilder (org.quartz.JobBuilder) instead
of its being in the JobDetail (which is used by Camel-quartz). 

I think the changes were made to the JobDetails to have a comfortable Java
DSL for creating quartz routes. 

Would this be worth raising a bug? 

Kind Regards, 

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message