Store and Forward queues

In MQe, there is a single queue class, MQeStoreAndForwardQueue, which encompasses the functionality of both Store Queues and Forward Queues in the MQe JMX interface. This type of queue has the capacity to do both of the following:
  • Forward messages either to the target queue manager (which MQe JMX calls ForwardToQMgr), or to another queue manager between the sending and the target queue managers. In this case the store-and-forward queue pushes messages either to the next hop or to the target queue manager.
  • Hold messages until the target queue manager can collect the messages from the store-and-forward queue. This can be accomplished using a home-server queue. Using this approach messages are pulled from the store-and-forward queue. The target queue manager, in this case, is included in what MQe JMX calls the DestinationQMgrList.

MQeStoreAndForwardQueues have a property identifying their set of target queue managers (Queue_QMgrNameList).

In the case of the Store Queue MBean, there is no ForwardToQMgr. The sole purpose of this queue is to store messages for the queues in its DestinationQMgrList.

The Forward Queue MBean instance, by contrast, has a ForwardToQMgr as well as a DestinationQMgrList. Thus it has both the forward and store capabilities of the MQeStoreAndForwardQueue while the Store Queue just has the store capability.

This division of functionality between queue MBean representations is intended to simplify the roles of the queues in question. The Store Queue is, in effect, a "storing" queue without the "forwarding" capacity of the Forward Queue.


Terms of use | WebSphere software

(c) Copyright IBM Corporation 2004, 2005. All rights reserved.