LibraryToggle FramesPrintFeedback

Fuse Mediation Router provides several ways to perform logging in a route:

  • Using the log DSL command.

  • Using the Log in Apache Camel Documentation component, which can log the message content.

  • Using the Tracer, which traces message flow.

  • Using a Processor or a Bean in Apache Camel Documentation endpoint to perform logging in Java.

[Important]Difference between the log DSL command and the log component

The log DSL is much lighter and meant for logging human logs such as Starting to do .... It can only log a message based on the Simple language. In contrast, the Log in Apache Camel Documentation component is a fully featured logging component. The Log in Apache Camel Documentation component is capable of logging the message itself and you have many URI options to control the logging.

Comments powered by Disqus
loading table of contents...