I'm the opposite. I avoid XML, and use Java DSL exclusively. I really like
the way it reads, and easy to test using camel test
On Tue, Jun 9, 2015 at 10:48 AM Dan Moore <dmo...@katasi.com> wrote:

> I also am a new user and tend to like XML.  Maybe that will change as I get
> used to Camel.
>
> I don't know of any automated way, but you can get edit access to camel and
> make the changes yourself:
> http://camel.apache.org/how-do-i-edit-the-website.html
>
> Dan
>
> On Tue, Jun 9, 2015 at 3: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.
> >
>

Reply via email to