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

Jonathan Anstey commented on CAMEL-769:
---------------------------------------

Claus,

I agree that the internal route representation is getting quite hairy... 
however, I think this feature + the toString methods should show all of whats 
going on or it may be even more confusing to the user (i.e. showing one thing, 
doing another). This is just my opinion though... :) 

> 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.

Reply via email to