Re: Camel Endpoint DSL

2020-04-23 Thread Claus Ibsen
Hi You are using java so you can use the powers of java and for example have a method that returns the Endpoint instance, and then have one implementation for DEV and another for PROD. And they can build this instance using endpoint-dsl or uri string or whatever. You can also use dependency

Re: Camel Endpoint DSL

2020-04-23 Thread Mikael Andersson Wigander
Thx, that’s what I suspected! M > On 23 Apr 2020, at 11:26, Guillaume Nodet wrote: > > Le jeu. 23 avr. 2020 à 10:06, Mikael Andersson Wigander < > mikael.grevs...@gmail.com> a écrit : > >> Hi >> >> How can I combine the endpoint DSL with dynamic property definitions such >> as: >> > > You

Re: Camel Endpoint DSL

2020-04-23 Thread Guillaume Nodet
Le jeu. 23 avr. 2020 à 10:06, Mikael Andersson Wigander < mikael.grevs...@gmail.com> a écrit : > Hi > > How can I combine the endpoint DSL with dynamic property definitions such > as: > You can use property placeholders with the endpoint DSL, but the goal of the dsl is to provide some type

RE: Camel Endpoint DSL

2020-04-23 Thread Riaan Annandale
Hi Mikael When I've had to do things like this I use recipientList. Maybe worth a try? -Original Message- From: Mikael Andersson Wigander Sent: Thursday, 23 April 2020 10:06 To: users@camel.apache.org Subject: Camel Endpoint DSL Hi How can I combine the endpoint DSL with dynamic

Camel Endpoint DSL

2020-04-23 Thread Mikael Andersson Wigander
Hi How can I combine the endpoint DSL with dynamic property definitions such as: final String toStr = "{{shuttle.ftp.outgoing.url}}" + "={{shuttle.ftp.username}}" + "={{shuttle.ftp.password}}" + "=false" + "=true" + "=true" + "=#defaultPollStrategy";