Re: Event / Exchange / Message timestamps

2023-11-21 Thread ski n
I also need the payload size of a message (in bytes) for each event and totals if possible Messages are mostly String, but can be any object basically (list, zip, mail, pdf, image). Is this possible? Or is there another way to get this kind of metric? The alternative is to offload it to, for

Re: Event / Exchange / Message timestamps

2023-11-20 Thread ski n
Yes, I was suspecting something like that, but the Javadoc only says: "Timestamp for each event, when the event occurred. By default, the timestamp is not included and this method returns 0." It does not say how and where it can be turned on. I first checked the EventNotifierSupport class, but

Re: Event / Exchange / Message timestamps

2023-11-20 Thread Claus Ibsen
Hi No see the javadoc You need to turn on event timestamps On Mon, Nov 20, 2023 at 4:32 PM ski n wrote: > In Camel 3.20.8 I use the event notifier (as described here > https://dzone.com/articles/event-notifier-apache-camel). > > One of the things I try to get timestamps. These timestamps are

Event / Exchange / Message timestamps

2023-11-20 Thread ski n
In Camel 3.20.8 I use the event notifier (as described here https://dzone.com/articles/event-notifier-apache-camel). One of the things I try to get timestamps. These timestamps are available on several levels: 1. Event level 2. Exchange level 3. Message level When I used the following the get