Re: Camel toD() questions

2021-06-22 Thread Calle Andersson
The most important questions (from my previously mail) which I hope to find an answer to is: 1. How come the CamelHttpPath header is empty when a Camel REST DSL endpoint doesn't consists of any path parameters? Is it by design or a bug? 2. In the toD documentation it says that for the optimisat

What is the scope of route exception handling?

2021-06-22 Thread Vyacheslav Boyko
Hello! As described into the documentation, Exception handling may be global and per-route. And my question is about the latest - per-route exception handling. from("direct://" + QUEUE_START_ISSUE_CARD) .bean(processor, "createRequest") .onException(Exception.class).handled(true).useOrig

Camel file component root path in Quarkus?

2021-06-22 Thread Mikael Andersson Wigander
Hi When developing and running/debugging a Spring Boot Camel Java application the file components root seems to be default to the project root (in IDEA anyhow). When converting to a Quarkus version the same path is now not applicable. Where is the "default root" for the file component when runn

Re: Camel file component root path in Quarkus?

2021-06-22 Thread Claus Ibsen
Hi Yeah that is a good question. You can write some code that does new File(".").getAbsolutePath() and print that to system out etc. On Tue, Jun 22, 2021 at 1:33 PM Mikael Andersson Wigander wrote: > > Hi > > When developing and running/debugging a Spring Boot Camel Java application > the fil

FILE component with concurrent consumers and JDBC idempotent store producing "Violation of UNIQUE KEY" warnings

2021-06-22 Thread Mirek Borsky
Greetings, I am trying to implement concurrent file consumers using jdbc as idempotent store, with MSSQL DB. It is working, but when the file is locked by other nodes, the route is producing WARN messages to my log, even though the readLockLoggingLevel is set to OFF. Could someone kindly point