You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Claus Ibsen <cl...@gmail.com> on 2014/03/01 10:33:50 UTC
Re: Camel Quartz2 Clustering fails due to durable jobs, has anyone got
Hi
Yeah feel free to log a JIRA ticket and we love contributions, so
patches is welcome
http://camel.apache.org/contributing
On Fri, Feb 28, 2014 at 2:43 PM, fherpertz <fh...@googlemail.com> wrote:
> Hi,
>
> 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
> <http://quartz-scheduler.org/documentation/quartz-2.x/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
> <http://www.quartz-scheduler.org/api/2.0.0/index.html?org/quartz/JobDetail.html>
> The solution above is only aplicable if you use camel-quartz instead of
> camel-quartz2.
>
> 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,
> Francesca
>
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-Quartz2-Clustering-fails-due-to-durable-jobs-has-anyone-got-tp5741030p5748096.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io
Re: Camel Quartz2 Clustering fails due to durable jobs, has anyone got
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
I logged a ticket
https://issues.apache.org/jira/browse/CAMEL-7280
On Sat, Mar 1, 2014 at 10:33 AM, Claus Ibsen <cl...@gmail.com> wrote:
> Hi
>
> Yeah feel free to log a JIRA ticket and we love contributions, so
> patches is welcome
> http://camel.apache.org/contributing
>
> On Fri, Feb 28, 2014 at 2:43 PM, fherpertz <fh...@googlemail.com> wrote:
>> Hi,
>>
>> 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
>> <http://quartz-scheduler.org/documentation/quartz-2.x/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
>> <http://www.quartz-scheduler.org/api/2.0.0/index.html?org/quartz/JobDetail.html>
>> The solution above is only aplicable if you use camel-quartz instead of
>> camel-quartz2.
>>
>> 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,
>> Francesca
>>
>>
>>
>>
>>
>> --
>> View this message in context: http://camel.465427.n5.nabble.com/Camel-Quartz2-Clustering-fails-due-to-durable-jobs-has-anyone-got-tp5741030p5748096.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
>
> --
> Claus Ibsen
> -----------------
> Red Hat, Inc.
> Email: cibsen@redhat.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
> Make your Camel applications look hawt, try: http://hawt.io
--
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io