You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/04/27 16:41:29 UTC

[jira] Resolved: (CAMEL-2677) Make it possible in to refer to routes outside the context, eg located in other Spring XML files

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

Claus Ibsen resolved CAMEL-2677.
--------------------------------

    Resolution: Fixed

Documentation at: http://cwiki.apache.org/confluence/display/CAMEL/How+do+I+import+routes+from+other+XML+files

> Make it possible in <camelContext/> to refer to routes outside the context, eg located in other Spring XML files
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2677
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2677
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-spring
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.3.0
>
>
> When you have many routes, it would be nice to use other Spring XML files to define routes and have a <camelContext/> being able to refer to those routes.
> {code:xml}
> <camelContext>
>    <route ref="myCommonRoute"/>
>    <route ref="myCoolRoute"/>
> </camelContext>
> {code}
> Maybe the <route ref/> cannot easily be used as its a real route tag. So we may have to use another tag name such as {{routeRef}} or something.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.