camel-quarkus: Dynamic endpoint cannot be resolved properly (toD)

Using latest version of Camel Quarkus I cannot get a toD() with dynamic http endpoints to be resolved correctly.

.toD("{{esma.download.url}}")

which is resolved to this:

https://registers.esma.europa.eu/solr/esma_registers_firds_files/select?q=*&fq=publication_date:%5B${date:now-72h:yyyy-MM-dd}T00:00:00Z%20TO%20${date:now-24h:yyyy-MM-dd}T23:59:59Z%5D&wt=xml&indent=false&start=0&rows=100

But the dynamic values (a date calculation) is not resolved.

I have tried to debug it and I don’t really grasp how and where but the findings so far is that in class SendDynamicProcessor.java there’s a property called dynamicAware that doesn’t get resolved (null). The reason here is that is searches for a path META-INF/services/org/apache/camel/send-dynamic/https in a classMap which is not found (FastFactoryResolver.java).

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 23 (13 by maintainers)

Commits related to this issue

Most upvoted comments

ok so I’ve been able to narrow down the issue and it has been solved in camel 3.2.0 so it will be available from the next camel-quarkus release