Re: Templates mix xml and java builder

2022-11-27 Thread Claus Ibsen
ny liability >> for breach of security, error or virus that may result from the >> trans­mission of this message. >> >> -- >> *Fra:* Claus Ibsen >> *Sendt:* Saturday, November 26, 2022 1:40:10 PM >> *Til:* users@camel.apache.org &g

Re: Templates mix xml and java builder

2022-11-27 Thread Claus Ibsen
of this e-mail. AddSecure does not accept any liability > for breach of security, error or virus that may result from the > trans­mission of this message. > > -- > *Fra:* Claus Ibsen > *Sendt:* Saturday, November 26, 2022 1:40:10 PM > *Til:* users@ca

Re: Templates mix xml and java builder

2022-11-26 Thread Svend Ole Nielsen
rity, error or virus that may result from the trans­mission of this message. Fra: Claus Ibsen Sendt: Saturday, November 26, 2022 1:40:10 PM Til: users@camel.apache.org Emne: Re: Templates mix xml and java builder CAUTION: External email Hi Okay you are welcome

Re: Templates mix xml and java builder

2022-11-26 Thread Claus Ibsen
ch of security, error or virus that may result from the > trans­mission of this message. > > -- > *Fra:* Claus Ibsen > *Sendt:* 26. november 2022 12:52 > *Til:* users@camel.apache.org > *Emne:* Re: Templates mix xml and java builder > > CAUTION: External e

Re: Templates mix xml and java builder

2022-11-26 Thread Claus Ibsen
y result from the > trans­mission of this message. > > -- > *Fra:* Claus Ibsen > *Sendt:* 26. november 2022 08:37 > *Til:* users@camel.apache.org > *Emne:* Re: Templates mix xml and java builder > > CAUTION: External email > Hi > >

Re: Templates mix xml and java builder

2022-11-25 Thread Babak Vahdat
Hi You can mix and match, example given this template in XML with the Id "myTemplate": https://github.com/apache/camel-examples/blob/main/examples/routetemplate-xml/src/main/resources/templates/my-route-templates.xml#L22 Could be instantiated as a route in Java DSL as in the other example here:

Re: Templates mix xml and java builder

2022-11-25 Thread Claus Ibsen
Hi You can mix any kind of DSLs you like. This example uses route configuration (but should work for route template as well), and have different DSLs https://github.com/apache/camel-examples/tree/main/examples/routes-configuration On Sat, Nov 26, 2022 at 12:28 AM Svend Ole Nielsen < svend-ole