Starting CamelContext should start routes after the CamelContext state has been 
set to started
----------------------------------------------------------------------------------------------

                 Key: CAMEL-4912
                 URL: https://issues.apache.org/jira/browse/CAMEL-4912
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.10.0


When routes are started, they may poll and and intake new messages, that gets 
routed in the Camel routes.

So its best that the CamelContext state has been changed from starting to 
started. To indicate the CamelContext has been fully started.
Otherwise you may have a odd race condition, that you process a new message, 
while the state of CamelContext is starting.

For example as we have with the SedaConsumer that in CAMEL-4911

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to