Hi

I've read about the Tracer EIP
(https://camel.apache.org/manual/latest/tracer.html) and also the MDC
options (https://people.apache.org/~dkulp/camel/mdc-logging.html) and
was wondering 2 things please:

1) Can you add other data to the MDC like another header or property?
How is this done? Even the excellent Camel in Action book doesn't seem
to have a section on MDC.

2) Both provide a way to track and trace messages to plot/correlate
their journeys but this blog
(https://jack-vanlightly.com/blog/2017/6/11/improving-reliability-and-incident-response-via-a-message-lifecycle)
makes an interesting point about a "MessageLifecycleId"

"For this purpose in our system we add a MessageLifecycleId message
header to all messages. Every time a message is sent, even when a
message is sent for retries, it gets a new MessageId, but we always
transfer over the MessageLifecycleId header. No matter how many times
a message bounces around the system, it keeps its MessageLifecycleId."
Thios

I was wondering if there is OOTB support for such a thing?

Thanks
n

Reply via email to