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

Sergey Zhemzhitsky commented on CAMEL-3579:
-------------------------------------------

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.

Reply via email to