camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Zhemzhitsky (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (CAMEL-3579) Impossible to use multiple quartz schedulers.
Date Sun, 23 Jan 2011 14:34:44 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-3579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12985333#action_12985333
] 

Sergey Zhemzhitsky edited comment on CAMEL-3579 at 1/23/11 9:33 AM:
--------------------------------------------------------------------

The behavior of the attached patch allows to
1. use one scheduler per camel context by default
2. use multiple schedulers in the same camel context by means of setScheduler(Scheduler) 
and setFactory(SchedulerFactory) methods because "scheduler" and "JOBS" fields are no longer
static
3. use different schedulers in separate bundles in the OSGi environment for the same reason
( "scheduler" and "JOBS" are not static)

      was (Author: szhemzhitsky):
    The default behavior of the attached patch allows to
1. use one scheduler per camel context by default
2. use multiple schedulers in the same camel context by means of setScheduler(Scheduler) 
and setFactory(SchedulerFactory) methods because "scheduler" and "JOBS" fields are no longer
static
3. use different schedulers in separate bundles in the OSGi environment for the same reason
( "scheduler" and "JOBS" are not static)
  
> Impossible to use multiple quartz schedulers.
> ---------------------------------------------
>
>                 Key: CAMEL-3579
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3579
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-quartz
>    Affects Versions: 2.5.0
>            Reporter: Sergey Zhemzhitsky
>         Attachments: multiple-schedulers.patch
>
>
> Current implementation of camel-quartz component does not allow to use multiple quartz
schedulers because of static "scheduler" and "JOBS" fields in the QuartzComponent.
> Moreover in the OSGi environment it is not possible to configure a separate scheduler
per bundle.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message