此内容没有您所选择的语言版本。

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

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.