camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sven Nold (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5717) Allow use of Routebuilder in RouteContext in XML schema
Date Mon, 27 Jan 2014 08:51:38 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-5717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13882639#comment-13882639
] 

Sven Nold commented on CAMEL-5717:
----------------------------------

GitHub user SvenNold opened a pull request:

    https://github.com/apache/camel/pull/91

    Camel 5717

    https://issues.apache.org/jira/browse/CAMEL-5717
    
    Supporting:
    
     - empty routeContext 
     - routeBuilderRef
    -  routeContextRef 


> Allow use of Routebuilder in RouteContext in XML schema
> -------------------------------------------------------
>
>                 Key: CAMEL-5717
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5717
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-blueprint, camel-core, camel-spring
>    Affects Versions: 2.10.1
>            Reporter: Robert Stepanek
>              Labels: context, route
>             Fix For: 3.0.0, Future
>
>
> Currently, the XML schema does not permit use of RouteBuilders in a RouteContext.
> This has been discussed on the mailing list: [http://camel.465427.n5.nabble.com/RouteBuilder-not-allowed-in-RouteContext-why-td5721184.html]
> The improvement would add {{camelContext}}'s powerful feature  of mixing Java DSL and
XML based route declarations also to the {{routeContext}}.
> For illustration, the following XML does not validate since the {{camel:routeBuilder}}
element is not allowed in a {{camel:routeContext}}:
> {code}
> <camel:routeContext id="fooRouteContext">
>     <camel:routeBuilder ref="fooRouteBuilder"/>
> </camel:routeContext>
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message