Using a scoped service integration bus alias destination to restrict messages to a single queue point

You can use a service integration bus alias destination to target a service integration bus queue that has multiple queue points. You can do this to ensure that a reply message is sent to the appropriate queue point for a cluster bus member.

A service integration bus queue has multiple queue points if it is owned by a cluster bus member with multiple messaging engines (typically, to provide workload sharing or scalability).

To restrict messages to a single queue point in this way, you must configure the alias destination to scope the targeted queue down to a single queue point (see Alias destination [Settings]).

If you configure a JMS queue to use such an alias destination, all messages that are sent to the JMS queue are sent to, or received from, the single queue point. Using such a JMS queue as a reply queue to avoid situations where reply messages are sent to the wrong queue point.

Figure 1. Using a scoped service integration bus alias destination to restrict messages to a single queue point
Using a scoped service integration bus alias destination to restrict messages to a single queue point.

It is good practice to make the messaging engine that owns the queue point to which the alias destination is scoped, highly available.

This approach has the following advantages:
This approach has the following disadvantages:

Refinement

You can improve the workload balancing of the system by configuring a scoped alias destination (and accompanying JMS queue) for each queue point of the reply queue, and then sharing requesting applications across these alias destinations. If the requesting application intends to disconnect and reconnect before receiving the reply message, it must use the JMS queue/alias destination that it set as the JMSReplyTo destination in the request message.




Related concepts
Foreign destinations and alias destinations
JMS request and reply messaging with cluster bus members
Concept topic Concept topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Jun 11, 2013 8:40:09 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v701sca&product=was-nd-mp&topic=cjt0022_
File name: cjt0022_.html