+

Search Tips | Advanced Search

ImqDistributionList C++ class

This class encapsulates a dynamic distribution list that references one or more queues for the purpose of sending a message or messages to multiple destinations.

Figure 1. ImqDistributionList class


Object attributes

    first distributed queue
    The first of one or more objects of class, in no particular order, in which the distribution list reference addresses this object.

    Initially there are no such objects. To open an ImqDistributionList successfully, there must be at least one such object.

    Note: When an ImqDistributionList object is opened, any open objects that reference it are automatically closed.


Constructors

    ImqDistributionList( );
    The default constructor.

    ImqDistributionList( const ImqDistributionList & list );
    The copy constructor.


Object methods (public)

    void operator = ( const ImqDistributionList & list );
    All objects that reference this object are dereferenced before copying. No objects will reference this object after the invocation of this method.

    * firstDistributedQueue ( ) const ;
    Returns the first distributed queue.


Object methods (protected)

    void setFirstDistributedQueue ( * queue = 0 );
    Sets the first distributed queue.

Parent topic: IBM MQ C++ classes

Last updated: 2020-10-04