Re: Camel Quarkus toD with dynamic values?

2020-04-20 Thread Claus Ibsen
Hi What version of Camel are you using? I think we had a bug in endpoint-dsl with {{ }} placeholders, that only has been fixed in the upcoming 3.3 release. And it may work in older Camel like 3.1.0. Or dont use the endpoint dsl and regular camel uri strings On Mon, Apr 20, 2020 at 3:11 PM Mikael

Re: Camel Quarkus toD with dynamic values?

2020-04-20 Thread Rafael Soares
Try to use the "URI STRING FORMATTING" *toF()* and *fromF()*... from("direct:start").*toF*("file://%s?fileName=%s", path, name); *fromF*( "file://%s?include=%s", path, pattern).toF("mock:%s", result); Also, inject your properties using the Quarkus Microprofile @ConfigProperty

Camel Quarkus toD with dynamic values?

2020-04-20 Thread Mikael Andersson Wigander
Hi trying to convert a small Camel application to Quarkus but fails on this: from(timer("{{esma.download.timer}}").repeatCount(1)) .log("{{esma.download.url}}") .toD(https("{{esma.download.url}}")) esma: download: url :