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 : 
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



first it cannot interpret the log it prints “{{esma.download.url}}” to the 
console

then it doesn’t convert my simple date calculations in the string

What do i need to make this happen?

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>${quarkus.platform.group-id}</groupId>
            <artifactId>${quarkus.platform.artifact-id}</artifactId>
            <version>${quarkus.platform.version}</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.camel.quarkus</groupId>
            <artifactId>camel-quarkus-bom</artifactId>
            <version>1.0.0-M6</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>
Other “{{}}” values in the from/to endpoints work…

Thx

M

Reply via email to