Package com.ibm.mq

Class MQAsyncStatus

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

public class MQAsyncStatus extends com.ibm.mq.jmqi.JmqiObject
Represents asynchronous error status from the queue manager.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    The completion code of the first asynchronous failure or warning encountered, since the last time asynchronous status was requested from the connection.
    The object name specified when opening the object against which the asynchronous failure or warning described by completionCode and reasonCode occurred.
    The object queue manager name specified when opening the object against which the asynchronous failure/warning described by completionCode and reasonCode occurred.
    int
    The type of the object against which the asynchronous failure or warning described by completionCode and reasonCode occurred.
    int
    The number of successful asynchronous put operations that failed since the last time asynchronous status was requested from the connection.
    int
    The number of successful asynchronous put operations that completed successfully since the last time asynchronous status was requested from the connection.
    int
    The number of successful asynchronous put operations that completed with warnings since the last time asynchronous status was requested from the connection.
    int
    The reason code, qualifying the completion code, of the first asynchronous failure or warning encountered since the last time asynchronous status was requested from the connection.
    The object name resolved when opening the object against which the asynchronous failure/warning described by completionCode and reasonCode occurred.
    The queue manager name resolved when opening the object against which the asynchronous failure/warning described by completionCode and reasonCode occurred.

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

    COMP_JM, COMP_JN, COMP_JO
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Updates this asynchronous error status object.

    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
  • Field Details

    • putSuccessCount

      public int putSuccessCount
      The number of successful asynchronous put operations that completed successfully since the last time asynchronous status was requested from the connection.
    • putWarningCount

      public int putWarningCount
      The number of successful asynchronous put operations that completed with warnings since the last time asynchronous status was requested from the connection.
    • putFailureCount

      public int putFailureCount
      The number of successful asynchronous put operations that failed since the last time asynchronous status was requested from the connection.
    • completionCode

      public int completionCode
      The completion code of the first asynchronous failure or warning encountered, since the last time asynchronous status was requested from the connection.
    • reasonCode

      public int reasonCode
      The reason code, qualifying the completion code, of the first asynchronous failure or warning encountered since the last time asynchronous status was requested from the connection.
    • objectType

      public int objectType
      The type of the object against which the asynchronous failure or warning described by completionCode and reasonCode occurred.
    • objectName

      public String objectName
      The object name specified when opening the object against which the asynchronous failure or warning described by completionCode and reasonCode occurred.
    • objectQueueManagerName

      public String objectQueueManagerName
      The object queue manager name specified when opening the object against which the asynchronous failure/warning described by completionCode and reasonCode occurred.
    • resolvedObjectName

      public String resolvedObjectName
      The object name resolved when opening the object against which the asynchronous failure/warning described by completionCode and reasonCode occurred.
    • resolvedQueueManagerName

      public String resolvedQueueManagerName
      The queue manager name resolved when opening the object against which the asynchronous failure/warning described by completionCode and reasonCode occurred.
  • Method Details

    • updateAsyncStatus

      public void updateAsyncStatus() throws MQException
      Updates this asynchronous error status object. The status is updated using the same connection against which getAsyncStatus was originally called to create the object.
      Throws:
      MQException - if there is a problem requesting asynchronous error status from the queue manager.
      See Also: