camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Anstey (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-8950) Injected Quartz2 scheduler doesn't have access to CamelContext in jobs
Date Fri, 10 Jul 2015 14:16:04 GMT
Jonathan Anstey created CAMEL-8950:
--------------------------------------

             Summary: Injected Quartz2 scheduler doesn't have access to CamelContext in jobs
                 Key: CAMEL-8950
                 URL: https://issues.apache.org/jira/browse/CAMEL-8950
             Project: Camel
          Issue Type: Bug
    Affects Versions: 2.15.2
            Reporter: Jonathan Anstey
            Assignee: Jonathan Anstey
             Fix For: 2.16.0, 2.15.3


Currently if you inject a scheduler the CamelContext won't be available for jobs to access.
When the scheduler is created automatically, the context is added to the quartz scheduler
context so the jobs can access it:

quartzContext.put(QuartzConstants.QUARTZ_CAMEL_CONTEXT + "-" + camelContextName, getCamelContext());




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message