Copyright © TIBCO Software Inc. All Rights Reserved

> Route
> Basic Operation

> • | Each route connects two TIBCO Enterprise Message Service servers.

> • | Each route forwards messages between corresponding destinations (that is, global topics with the same name, or explicitly routed queues) on its two servers.

> • | Routes are bidirectional; that is, each server in the pair forwards messages along the route to the other server.

> For example, the compact view at the top of Figure 31 denotes a route between two servers, A and B. The exploded view beneath it illustrates the behavior of the route. Each server has a global topic named T1, and a routed queue Q1; these destinations correspond, so the route forwards messages between them. In addition, server A has a global topic T2, which does not correspond to any topic on server B. The route does not forward messages from T2.
> Figure 31 Routes: bidirectionality and corresponding destinations
> Global Destinations
> Routes forward messages only between global destinations—that is, for topics the global property must be set on both servers (for queues, see Routed Queues). (For more information about destination properties, See Destination Properties.)
> Figure 32 illustrates a route between two servers, C and D, with corresponding destinations T1 and T2. Notice that T1 is global on both C and D, so both servers forward messages across the route to the corresponding destination. However, T2 is not global on C, neither C nor D forward T2 messages to one another.
> Figure 32 Routes: global destinations
> Unique Routing Path
> It is illegal to define a set of routes that permit a message to reach a server by more than one path. TIBCO Enterprise Message Service servers detect illegal duplicate routes and report them as configuration errors.
> Figure 33 depicts two sets of routes. On the left, the routes connecting servers A, B, C, D and E form an acyclic graph, with only one route connecting any pair of servers; this configuration is legal (in any zone).
> In contrast, the routing configuration on the right is illegal in a multi-hop zone. The graph contains redundant routing paths between servers Q and S (one direct, and one through R and T).

> | Note that the configuration on the right is illegal only in a multi-hop zone; it is legal in a one-hop zone. For further information, see Zone.

> Figure 33 Routes: Unique Path

Copyright © TIBCO Software Inc. All Rights Reserved