Re: Unable to get Micrometer counter in Camel 3.2.0

2020-04-08 Thread Claus Ibsen
Hi Its a big upgrade, also micrometer is upgraded. So it may have changed what information it exports to JMX. Check on their project. On Wed, Apr 8, 2020 at 8:46 AM Mikael Andersson Wigander wrote: > > Yes, it is added > > M > > > On 8 Apr 2020, at 08:45, Andrea Cosentino wrote: > > > > Did y

Re: Unable to get Micrometer counter in Camel 3.2.0

2020-04-08 Thread Mikael Andersson Wigander
I can see in debug output it is registered 2020-04-08 09:11:57.086 DEBUG 68795 --- [ restartedMain] o.a.c.impl.engine.AbstractCamelContext : Using ComponentResolver: org.apache.camel.impl.engine.DefaultComponentResolver@2c311daa to resolve component with name: micrometer 2020-04-08 09:11:57.

Re: Unable to get Micrometer counter in Camel 3.2.0

2020-04-08 Thread Mikael Andersson Wigander
Thanks, I did and I can’t see anything new or significant Tried Timers but they doesn’t work either M > On 8 Apr 2020, at 09:17, Claus Ibsen wrote: > > Hi > > Its a big upgrade, also micrometer is upgraded. So it may have changed > what information it exports to JMX. > Check on their project.

Re: Grouped Aggregation Strategies...

2020-04-08 Thread Mikael Andersson Wigander
I too have migrated to Camel 3 and I can’t get this to work. I have tried using a constant(true) but I get only 1 message back instead of 3 Using a unique correlation expression I get as before, 3 different back, not a List of 3 M > On 4 Apr 2020, at 16:10, Craig Taylor wrote: > >>> Are you

Re: Grouped Aggregation Strategies...

2020-04-08 Thread Craig Taylor
Problem solved. To be a good net-zitizen, this is what I found after finding some old source code from when I knew camel better: Using . aggregate( simple( "${body.id}"), AggregationStrategies.flexible().accumulateInCollection( ArrayList.class)) .completionTimeout(5000L) allowed me to have

Re: Grouped Aggregation Strategies...

2020-04-08 Thread Mikael Andersson Wigander
King! Glad you figured it out I tried it but for me it didn’t work, it still produces one exchange per “group” not one List with all grouped messages in it… Quite tricky, this one is… M > On 8 Apr 2020, at 12:23, Craig Taylor wrote: > > Problem solved. To be a good net-zitizen, this is wh

Re: Unable to get Micrometer counter in Camel 3.2.0

2020-04-08 Thread Mikael Andersson Wigander
Temporarily solved by not using Camel implementation and instead use micrometer.io , declare the bean, autowire in the route and use a process to count. I have tried to debug and see where it breaks but failed. Haven’t the deepest knowledge on the different registries tha

Re: Unable to get Micrometer counter in Camel 3.2.0

2020-04-08 Thread Andrea Cosentino
Open an issue please. Reporting this stuff on the mailing list will be lost. Il mer 8 apr 2020, 17:49 Mikael Andersson Wigander < mikael.grevs...@gmail.com> ha scritto: > Temporarily solved by not using Camel implementation and instead use > micrometer.io , declare the bean

Re: Unable to get Micrometer counter in Camel 3.2.0

2020-04-08 Thread Mikael Andersson Wigander
Done. tried to explain afaik Thx for the reminder M > On 8 Apr 2020, at 17:57, Andrea Cosentino wrote: > > Open an issue please. Reporting this stuff on the mailing list will be lost. > > Il mer 8 apr 2020, 17:49 Mikael Andersson Wigander < > mikael.grevs...@gmail.com> ha scritto: > >> Temp