[
https://issues.apache.org/activemq/browse/CAMEL-769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44766#action_44766
]
Jonathan Anstey commented on CAMEL-769:
---------------------------------------
Hadrian,
Maybe I just need my morning coffee but I can't think of the usecase you are
envisaging here :) Do you mean starting up a selected route on another context
or taking the whole lot and loading them up on another context? In either of
these scenarios I *think* the output would also need to contain a camelContext
element so the factory bean could load it up properly.
> Spring Camel Main should provide option to export all the RouteDefinitions as
> XML to a file
> -------------------------------------------------------------------------------------------
>
> Key: CAMEL-769
> URL: https://issues.apache.org/activemq/browse/CAMEL-769
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: James Strachan
> Assignee: Hadrian Zbarcea
> Fix For: 1.5.0
>
> Attachments: dumpRoutesToXml.patch
>
>
> e.g.
> {code}
> java org.apache.camel.spring.Main -out foo.xml
> {code}
> Then once the CamelContext is created it grabs the getRouteDefintions() and
> writes them to an XML file
> {code}
> <routes xmlns="...">
> <route/> ...
> </routes>
> {code}
> This will then make it easy for tooling to visualise the routes
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.