BacklogDebugger
Since Camel 2.12
Camel supports a backlog debugger that is used for live debugging of
messages that are routed in Camel.
The backlog debugger has additional functionality for easier debugging
aimed at tooling, than the Debugger. The backlog
debugger is exposed in JMX in the tracer node with the name
BacklogDebugger
. The JMX API is defined in the
org.apache.camel.api.management.mbean.ManagedBacklogDebuggerMBean
interface.
You can enable or disable the BacklogDebugger dynamically, by calling
enableDebugger
or disableDebugger
methods.
Options
Option | Default | Description |
---|---|---|
|
|
Whether the debugger is enabled or not. |
|
|
Whether currently in single step mode of a single Exchange. |
|
|
To limit the message body to a maximum size in the traced message. Use 0 or negative value to use unlimited size. |
|
|
Whether to include the message body of stream based messages. If enabled then beware the stream may not be re-readable later. See more about Stream Caching. |
|
|
Whether to include the message body of file based messages. The overhead is that the file content has to be read from the file. |
Operations
Option | Type | Description |
---|---|---|
|
|
To enable the debugger |
|
|
To disable the debugger |
|
|
Gets the total number of debugged messages. |
|
|
To reset the debugger counter. |
|
|
To dump the debugged messages from the give node id in XML format. |
|
|
To add a breakpoint at the given node. |
|
|
To add a conditional breakpoint at the given node. The predicate is created from the language parameter. |
|
|
To remove the breakpoint from the given node id. |
|
|
To resume a suspend breakpoint, which will then continue routing the Exchange. |
|
|
To resume all suspended breakpoints. |
|
|
To get a set of all the nodes which has suspended breakpoints (eg an Exchange at the breakpoint which is suspended). |
|
|
To start single step mode from a suspended breakpoint at the given node.
Then invoke |
|
|
To step to next node when in single step mode. |
|
|
To get a set of all the nodes which has a breakpoint added. |
|
|
To active a breakpoint which has been temporary disabled. |
|
|
To disable a breakpoint temporary. |
|
|
To update the message body on the suspended Exchange at the node. |
|
|
To update/add the message header on the suspended Exchange at the node. |