The left side of Figure 34 depicts an enterprise with three
servers—P, R and
S—connected by routes. The remainder of
Figure 34 illustrates the mechanisms that routes queue messages among servers (center) and their clients (right side).
Servers P and S define routed queues Q1@R. This designation indicates that these queues depend upon and reflect their
home queue (that is, Q1 on server R). Notice that the designation Q1@R is only for the purpose of configuration; clients of P refer to the routed queue as Q1.
Now the message is available to receivers on all three servers, P, R and S—although only one client can consume the message. Either Q1 on P receives it on behalf of K; or Q1 on S receives it on behalf of N; or M receives it directly from the home queue.
Similarly, routed queues do not generate an exception when the maxbytes and
maxmsgs limits are exceeded in the routed server. Clients can continue to send messages to the queue after the limit is reached, and the messages will be stored in the routed server until the error condition is cleared.