MQC

 

public interface MQC

com.ibm.mq.MQC
          

The MQC interface defines all the constants used by the WebSphere MQ Java™ programming interface (except for completion code constants and error code constants). To refer to one of these constants from within your programs, simply prefix constant name with "MQC.". For example, we can set the close options for a queue as follows:

    MQQueue queue;
    ...
    queue.closeOptions = MQC.MQCO_DELETE;  // delete the queue when it is closed
    ...
 


uj15670_