Add method to test kit to control if CamelContext should be auto started or not
-------------------------------------------------------------------------------

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


By default CamelContext is started when using the Camel test kit. We should add 
some method people can override to more easily control if CamelContext should 
be started or not.

This works well with advice with, where people may replace endpoints, remove 
parts of routes, etc. So we should prefer to start CamelContext *after* the 
advice has been executed.

For example people should then be able to run the tests without have X 
components on the classpath, if they got replace in the advice.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to