You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/08/07 16:54:47 UTC

[jira] [Updated] (CAMEL-5717) Allow use of Routebuilder in RouteContext in XML schema

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

Claus Ibsen updated CAMEL-5717:
-------------------------------

    Fix Version/s:     (was: 2.12.0)
                   3.0.0
    
> 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: Improvement
>          Components: camel-core
>    Affects Versions: 2.10.1
>            Reporter: Robert Stepanek
>            Priority: Minor
>              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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira