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 and Description
      char groupStatus
      Whether the retrieved message is in a group, and if it is, whether it is the last in the group.
      int matchOptions
      Selection criteria that determine which message is retrieved.
      byte[] msgToken
      A token for use when getting messages.
      int options
      Options that control the action of MQQueue.get().
      java.lang.String resolvedQueueName
      The local name of the queue from which the message was retrieved.
      int returnedLength
      The length in bytes of the message data.
      char segmentation
      Whether segmentation is allowed for the retrieved message.
      char segmentStatus
      Whether the retrieved message is a segment of a logical message.
      int waitInterval
      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 and Description
      MQGetMessageOptions()
      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 java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
(c) Copyright IBM Corp. 2008, 2015. All Rights Reserved.