Hi
How can I combine the endpoint DSL with dynamic property definitions such as:
final String toStr = "{{shuttle.ftp.outgoing.url}}" +
"&username={{shuttle.ftp.username}}" +
"&password={{shuttle.ftp.password}}" +
"&allowNullBody=false" +
"&consumer.bridgeErrorHandler=true" +
"
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 dy
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 safety
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 c
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 injec