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 apparently it needs to be set on the
EventFactory:

https://www.javadoc.io/static/org.apache.camel/camel-api/3.20.8/org/apache/camel/spi/EventFactory.html#setTimestampEnabled(boolean)

Something like:

context.getManagementStrategy().getEventFactory().setTimestampEnabled(true);

Hope this will help someone.

Raymond

Reply via email to