[jira] Created: (CAMEL-305) Ability to specify many RouteBuilders in ContextTestSupport

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (CAMEL-305) Ability to specify many RouteBuilders in ContextTestSupport

JIRA jira@apache.org
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 | Threaded
Open this post in threaded view
|

[jira] Resolved: (CAMEL-305) Ability to specify many RouteBuilders in ContextTestSupport

JIRA jira@apache.org

     [ https://issues.apache.org/activemq/browse/CAMEL-305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman Kalukiewicz resolved CAMEL-305.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.0

Resolved with commit to revision 614007

> 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
>             Fix For: 1.3.0
>
>
> 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.