Hi

At runtime you can output any Camel route as xml, there is api on
camel context or jmx api to do so.

This is what tooling such as the camel commands / hawtio etc uses to
visualize the running routes.

On Tue, Jun 9, 2015 at 11:11 AM, cloud <cl...@domolo.com> wrote:
> hi team,
>
> Is there a tools to convert java dsl to xml ?
> Is every java dsl code  have a equal xml counterpart?
>
> When I am reading the camel document's , there are many snippets code that
> writen by java dsl .
>
> As a new user , sometimes I have to use xml instead of java dsl  .
>
> In fact , I want to know how could I convert the below code to xml
>
> from("direct:start")
>   .setHeader("decisionSlip").method(OrderProcessorBean.class,
> "calculateRoute")
>   .routingSlip("decisionSlip");
>
>
> thanks.
>
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Is-there-a-tools-to-convert-java-dsl-to-xml-tp5768015.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to