Ability to specify many RouteBuilders in ContextTestSupport
-----------------------------------------------------------

                 Key: CAMEL-305
                 URL: https://issues.apache.org/activemq/browse/CAMEL-305
             Project: Apache Camel
          Issue Type: New Feature
          Components: camel-core
            Reporter: Roman Kalukiewicz
            Assignee: Roman Kalukiewicz
            Priority: Minor


In order to test some business flow it could be good to redirect few endpoints 
to mock endpoints. Imagine such business flow
{code}
from("direct:input")
.beanRef("myBusinessLogicBean")
.to("direct:output");
{code}

Such business flow should be wired to external resources ({{direct:output}}) 
with another {{ProductionConfigurationRouteBuilder}} while in test case this 
could be wired with another flow like
{code}
from("direct:output").to("mock:output");
{code}

To have such ability our ContextTestSupport should allow us to specify many 
{{RouteBuilder}}s in our tests.

-- 
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