This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 93b7466e02a Update event-notifier.adoc
93b7466e02a is described below

commit 93b7466e02a3793505373a4bc6c7af4aa17bcf0d
Author: Raymond Meester <raymondmees...@gmail.com>
AuthorDate: Mon Mar 17 16:48:03 2025 +0100

    Update event-notifier.adoc
---
 docs/user-manual/modules/ROOT/pages/event-notifier.adoc | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/docs/user-manual/modules/ROOT/pages/event-notifier.adoc 
b/docs/user-manual/modules/ROOT/pages/event-notifier.adoc
index fc19134a8b3..2ba936128b7 100644
--- a/docs/user-manual/modules/ROOT/pages/event-notifier.adoc
+++ b/docs/user-manual/modules/ROOT/pages/event-notifier.adoc
@@ -136,3 +136,14 @@ stepCollector.setIgnoreStepEvents(false);
 //Add the Event Notifier to the Camel Context
 context.getManagementStrategy().addEventNotifier(stepCollector);
 ----
+
+== Event Timestamps
+
+By default, event timestamps are not included and the getTimestamp() method 
returns 0. 
+
+Timestamps can be enabled from the CamelContext as follows:
+
+[source,java]
+----
+context.getManagementStrategy().getEventFactory().setTimestampEnabled(true);
+----

Reply via email to