Package com.ibm.mq

Class MQGetMessageOptions

java.lang.Object
com.ibm.mq.jmqi.JmqiObject
com.ibm.mq.MQGetMessageOptions

public class MQGetMessageOptions extends com.ibm.mq.jmqi.JmqiObject
This class contains options which control the behaviour of MQQueue.get().
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    char
    Whether the retrieved message is in a group, and if it is, whether it is the last in the group.
    int
    Selection criteria that determine which message is retrieved.
    byte[]
    A token for use when getting messages.
    int
    Options that control the action of MQQueue.get().
    The local name of the queue from which the message was retrieved.
    int
    The length in bytes of the message data.
    char
    Whether segmentation is allowed for the retrieved message.
    char
    Whether the retrieved message is a segment of a logical message.
    int
    The maximum time (in milliseconds) that an MQQueue.get() call waits for a suitable message to arrive.

    Fields inherited from class com.ibm.mq.jmqi.JmqiObject

    COMP_JM, COMP_JN, COMP_JO
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs an MQGetMessageOptions object with options set to MQConstants.MQGMO_MO_WAIT, a wait interval of zero, and a blank resolved queue name.
    MQGetMessageOptions(boolean noReadBack)
    Constructs an MQGetMessageOptions object with an option on reading options field.
  • Method Summary

    Methods inherited from class com.ibm.mq.jmqi.JmqiObject

    getJmqiEnvironment

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait