camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [camel-quarkus] hakuseki opened a new issue #1116: Dynamic endpoint cannot be resolved properly (toD)
Date Tue, 21 Apr 2020 13:40:35 GMT

hakuseki opened a new issue #1116:
URL: https://github.com/apache/camel-quarkus/issues/1116


   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`).
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message