AW: File Component with variable FileName (set from properties placeholder or similar)

2022-11-23 Thread Penagos Jaime
Hi Claus, thank you so much for your answer! I tried it out and it works perfectly. Now I can finally create the routes dinamically when needed and stop getting a headache trying to find a workaround. One of the problems I've had in general with the File component has to be that I can't share

AmbiguousMethodCallException when using auto-generated classes

2022-11-23 Thread LANGER Manuel (ICS460-BAI.ext)
Hi, using the following auto-generated classes (Class1, Class2) causes an AmbiguousMethodCallException in a unit test, although the mentioned methods are not ambiguous. Class1 looks like this: @javax.annotation.Generated… public class Class1 { @JsonProperty("data") private Class2 d

Re: Camel and Kafka manual commit : java.util.ConcurrentModificationException

2022-11-23 Thread Ivan Rododendro
Fair enough. I pushed a reproducer here based on testcontainer ... *but it don't reproduces the issue *: https://github.com/ivanrododendro/reprex-camelmanualcommit.git It turns out that my issue is caused by a header based resequencer in the route, basically having this in the route : .resequen

Re: Camel and Kafka manual commit : java.util.ConcurrentModificationException

2022-11-23 Thread Claus Ibsen
Hi The resequencer EIP is async, so its output is processed by another thread, which manual commit from kafka is not supported as you must do that on the same thread that received the message. On Wed, Nov 23, 2022 at 3:34 PM Ivan Rododendro wrote: > Fair enough. > > I pushed a reproducer here b

Re: Camel and Kafka manual commit : java.util.ConcurrentModificationException

2022-11-23 Thread Ivan
Ok thanks. Ivan Rododendro > Le 23 nov. 2022 à 18:01, Claus Ibsen a écrit : > > Hi > > The resequencer EIP is async, so its output is processed by another thread, > which manual commit from kafka is not supported as you must do that on the > same thread that received the message. > >> On We