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

7.3. Connecting patterns to make a route


Overview

Until the patterns on the canvas (referred to as nodes) are connected, they do not constitute a route. The editor does not save a route element in the context file until all nodes are linked together to form a complete route. A complete route typically consists of a starting endpoint, a string of processing nodes, and one or more destination endpoints.
Connecting two nodes on the canvas is as simple as dragging a line from one to the other. Each node has a connector arrow. Selecting a node and dragging its connector arrow to a target node establishes a connection between the two nodes.

Procedure

To connect two nodes:
  1. On the canvas, select the source node to display its connector arrow.
  2. Click-drag the source node's connector arrow ( ) to the target node.
    The direction of the connection represents the direction messages flow between the nodes in the route.
  3. While hovering over the target node, release the mouse button to drop the connector on it.
    The route editor updates the <route> element with the xml generated from the connection. You can view the xml in Source view.
  4. When you are done, save your work by selecting File Save from the menu bar.
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

© 2024 Red Hat, Inc.