此内容没有您所选择的语言版本。
23.3. Tracing messages through a route
Overview
The best way to see what's happening in a route is to watch what happens to a message at each stop along the route. The tooling provides a mechanism for dropping messages into a route and tracing the message's path through it.
Procedure
To trace messages through a route:
- Create one or more test messages as described in Section 23.1, “Creating test messages for route tracing”.
- Activate tracing for the route's routing context as described in Section 23.2, “Activating route tracing”.
- Drag one of the test messages onto the route's starting point.
- In the Fuse JMX Navigator tree, select the route being traced.The Messages View is populated with a list of messages representing the message at each stage in the traced route.
- Open Diagram View to see a graphical representation of the selected route.
- In the Messages View, select one of the messages.In Diagram View, the route step in which the selected message is sitting is highlighted. The Properties view displays the full details and content of the test message.
You can repeat this process as needed.