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:
  1. Create one or more test messages as described in Section 23.1, “Creating test messages for route tracing”.
  2. Activate tracing for the route's routing context as described in Section 23.2, “Activating route tracing”.
  3. Drag one of the test messages onto the route's starting point.
  4. 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.
  5. Open Diagram View to see a graphical representation of the selected route.
  6. 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.

Related topics

Section 23.1, “Creating test messages for route tracing”
Section 23.2, “Activating route tracing”
Section 23.4, “Deactivating route tracing”
chapter "To Trace a Message Through a Route" in "Tooling Tutorials"
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.