MQDistributionList

 

public MQDistributionList(MQQueueManager qMgr, 
                          MQDistributionListItem[] litems, 
                          int openOptions, String alternateUserId) 
              throws MQException;

Creates a new distribution list and opens the queues.

Parameters

  • qMgr - the queue manager where the list is to be opened.

  • litems - the items to be included in the distribution list.

  • openOptions - options which control the opening of the distribution list.

  • alternateUserId - the alternative user identifier used to check the authorization for opening queues if MQOO_ALTERNATE_USER_AUTHORITY is specified in openOptions. Otherwise this parameter can be left blank (or null).

Exceptions

  • MQException - is only thrown if the call fails completely. The constructor completes if at least one queue opens successfully.


uj12140_