EventNotifier filters

2023-01-30 Thread ski n
I have a question about event notifiers. Currently, I collect events using EventNotifierSupport https://javadoc.io/doc/org.apache.camel/camel-support/latest/org/apache/camel/support/EventNotifierSupport.html There I get a "CamelEvent" as listed in this class. https://www.javadoc.io/doc/org.apac

Re: Camel 3.20.1 // Events ExchangeCreated and ExchangeCompleted seem to be repeated

2023-01-30 Thread Claus Ibsen
It has always been like that, when an exchange is created an event is fired. Multicast / split create exchange (sub exchanges) and thus events. You can see if its a sub exchange as it has exchange property CORRELATION_ID that points to its parent. So if you only want parent exchanges, then filter

Re: Camel 3.20.1 // Events ExchangeCreated and ExchangeCompleted seem to be repeated

2023-01-30 Thread Ephemeris Lappis
Hello. After more tests I think I have more or less an idea of the origin of the events, but an explanation should be welcome. In some cases, the 3rd route produces two files, and in some of these cases, they use a multicast. The multicast seems to be the cause of the repeated events. I've tried

Re: Camel 3.20.1 // Events ExchangeCreated and ExchangeCompleted seem to be repeated

2023-01-30 Thread Claus Ibsen
Hi This is expected as you use seda, that creates a new exchange If you use direct then no exchange is created On Mon, Jan 30, 2023 at 1:51 PM Ephemeris Lappis wrote: > Hello. > > Debugging some routes with an EventNotifier it seems that the event > ExchangecReated and ExchangeCompleted are rep

Camel 3.20.1 // Events ExchangeCreated and ExchangeCompleted seem to be repeated

2023-01-30 Thread Ephemeris Lappis
Hello. Debugging some routes with an EventNotifier it seems that the event ExchangecReated and ExchangeCompleted are repeated twice (I mean 3 times instead of 1). My tested application routes are all on the same pattern : - route 1 : from JMS queue1 to JMS queue2 - route 2 : from JMS queue2 to se

[RESULT][VOTE] Release Apache Camel Kamelets 3.20.1.1

2023-01-30 Thread Andrea Cosentino
Hello all, The vote passes with the following results: 6 +1 binding votes: Andrea Cosentino, Pasquale Congiusti, Claus Ibsen, Zineb Bendhiba, Otavio Rodolfo Piske and Jean-Baptiste Onofrè 1 +1 non-binding vote: Gaelle Fournier Thanks to all the voters. I'll go ahead with the required steps.

Re: [VOTE] Release Apache Camel Kamelets 3.20.1.1

2023-01-30 Thread Andrea Cosentino
Thanks to all, The vote passes. I'll go ahead. Il giorno sab 28 gen 2023 alle ore 07:27 Jean-Baptiste Onofré < j...@nanthrax.net> ha scritto: > +1 (binding) > > Regards > JB > > On Thu, Jan 26, 2023 at 7:43 AM Andrea Cosentino > wrote: > > > > Hello all: > > > > This is a vote for releasing ca

RE: BUG - RouteDefinition doesnt have routeId when using REST DSL

2023-01-30 Thread Nikola Glidzic
Wow nice, I am glad that route part is back to REST DSL! Thank you Claus for help and answer! Kind Regards, Nikola Glidzic