Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Message History

The Message History from the EIP patterns allows to analyze and debug the flow of messages in a loosely coupled system.

Image Added

Therefore, attach a Message History to the message. The Message History is a list of all applications that the message passed through since its origination.

In Camel you can trace message flow using the Tracer, or access information using the Java API from UnitOfWork using the getTracedNodes method.

When Camel sends a message to an endpoint that endpoint information is stored on the Exchange as a property with the key Exchange.TO_ENDPOINT.
This property contains the last know endpoint the Exchange was sent to (will override when sending to new endpoint). Though it allows you to trace messages being sent using interceptors or the Event Notifier.

Tip

The Message History is scheduled for refactor and improvement in Camel 3.

...

0, to make it better and easier for end users to access details.

Include Page
CAMEL:Using This Pattern
CAMEL:Using This Pattern