com.ibm.mq

Class MQChannelExit

  1. java.lang.Object
  2. extended bycom.ibm.mq.jmqi.JmqiObject
  3. extended bycom.ibm.mq.MQChannelExit

  1. public class MQChannelExit
  2. extends com.ibm.mq.jmqi.JmqiObject
This class defines context information passed to the send, receive and security exits when they are invoked. The exit must set the exitResponse member variable to indicate what action the WebSphere MQ Client for Java should take next.

Note: This class is not used when connecting directly to WebSphere MQ in bindings mode.


Field Summary

Modifier and Type Field and Description
  1. int
capabilityFlags
Capabilities of the queue manager.
  1. int
CurHdrCompression
The technique currently being used to compress header data.
  1. int
CurMsgCompression
The technique currently being used to compress message data.
  1. int
exitID
The type of exit that has been invoked.
  1. int
exitReason
The reason for invoking the exit.
  1. int
exitResponse
Set by the exit to indicate the action that the WebSphere MQ Client for Java should take next.
  1. byte[]
exitUserArea
A storage area available for the exit to use.
  1. int
fapLevel
The negotiated Format and Protocol (FAP) level.
  1. int
maxSegmentLength
The maximum length for a simple transmission to a queue manager.
  1. static
  2. int
MQXCC_CLOSE_CHANNEL
Deprecated. use MQC.MQXCC_CLOSE_CHANNELinstead.
  1. static
  2. int
MQXCC_OK
Deprecated. use MQC.MQXCC_OKinstead.
  1. static
  2. int
MQXCC_SEND_AND_REQUEST_SEC_MSG
Deprecated. use MQC.MQXCC_SEND_AND_REQUEST_SEC_MSG instead.
  1. static
  2. int
MQXCC_SEND_SEC_MSG
Deprecated. use MQC.MQXCC_SEND_SEC_MSGinstead.
  1. static
  2. int
MQXCC_SUPPRESS_EXIT
Deprecated. use MQC.MQXCC_SUPPRESS_EXITinstead.
  1. static
  2. int
MQXCC_SUPPRESS_FUNCTION
Deprecated. use MQC.MQXCC_SUPPRESS_FUNCTION instead.
  1. static
  2. int
MQXR_INIT
Deprecated. use MQC.MQXR_INITinstead.
  1. static
  2. int
MQXR_INIT_SEC
Deprecated. use MQC.MQXR_INTI_SECinstead.
  1. static
  2. int
MQXR_SEC_MSG
Deprecated. use MQC.MQXR_SEC_MSGinstead.
  1. static
  2. int
MQXR_TERM
Deprecated. use MQC.MQXR_TERMinstead.
  1. static
  2. int
MQXR_XMIT
Deprecated. use MQC.MQXR_XMITinstead.
  1. static
  2. int
MQXT_CHANNEL_RCV_EXIT
Deprecated. use MQC.MQXT_CHANNEL_RCV_EXITinstead.
  1. static
  2. int
MQXT_CHANNEL_SEC_EXIT
Deprecated. use MQC.MQXT_CHANNEL_SEC_EXITinstead.
  1. static
  2. int
MQXT_CHANNEL_SEND_EXIT
Deprecated. use MQC.MQXT_CHANNEL_SEND_EXITinstead.
Fields inherited from class com.ibm.mq.jmqi.JmqiObject
COMP_JM, COMP_JN, COMP_JO

Constructor Summary

Constructor and Description
MQChannelExit()
Package constructor

Method Summary

Modifier and Type Method and Description
  1. MQConnectionSecurityParameters
getMQCSP()
  1. void
setMQCSP(MQConnectionSecurityParameters mqcsp)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

MQXT_CHANNEL_SEC_EXIT

  1. public static final int MQXT_CHANNEL_SEC_EXIT
Deprecated. use MQC.MQXT_CHANNEL_SEC_EXITinstead.
See Also:

MQXT_CHANNEL_SEND_EXIT

  1. public static final int MQXT_CHANNEL_SEND_EXIT
Deprecated. use MQC.MQXT_CHANNEL_SEND_EXITinstead.
See Also:

MQXT_CHANNEL_RCV_EXIT

  1. public static final int MQXT_CHANNEL_RCV_EXIT
Deprecated. use MQC.MQXT_CHANNEL_RCV_EXITinstead.
See Also:

MQXR_INIT

  1. public static final int MQXR_INIT
Deprecated. use MQC.MQXR_INITinstead.
See Also:

MQXR_TERM

  1. public static final int MQXR_TERM
Deprecated. use MQC.MQXR_TERMinstead.
See Also:

MQXR_XMIT

  1. public static final int MQXR_XMIT
Deprecated. use MQC.MQXR_XMITinstead.
See Also:

MQXR_SEC_MSG

  1. public static final int MQXR_SEC_MSG
Deprecated. use MQC.MQXR_SEC_MSGinstead.
See Also:

MQXR_INIT_SEC

  1. public static final int MQXR_INIT_SEC
Deprecated. use MQC.MQXR_INTI_SECinstead.
See Also:

MQXCC_OK

  1. public static final int MQXCC_OK
Deprecated. use MQC.MQXCC_OKinstead.
See Also:

MQXCC_SUPPRESS_FUNCTION

  1. public static final int MQXCC_SUPPRESS_FUNCTION
Deprecated. use MQC.MQXCC_SUPPRESS_FUNCTION instead.
See Also:

MQXCC_SEND_AND_REQUEST_SEC_MSG

  1. public static final int MQXCC_SEND_AND_REQUEST_SEC_MSG
Deprecated. use MQC.MQXCC_SEND_AND_REQUEST_SEC_MSG instead.
See Also:

MQXCC_SEND_SEC_MSG

  1. public static final int MQXCC_SEND_SEC_MSG
Deprecated. use MQC.MQXCC_SEND_SEC_MSGinstead.
See Also:

MQXCC_SUPPRESS_EXIT

  1. public static final int MQXCC_SUPPRESS_EXIT
Deprecated. use MQC.MQXCC_SUPPRESS_EXITinstead.
See Also:

MQXCC_CLOSE_CHANNEL

  1. public static final int MQXCC_CLOSE_CHANNEL
Deprecated. use MQC.MQXCC_CLOSE_CHANNELinstead.
See Also:

exitID

  1. public int exitID
The type of exit that has been invoked. Possible values are:

exitReason

  1. public int exitReason
The reason for invoking the exit. Possible values are:

exitResponse

  1. public int exitResponse
Set by the exit to indicate the action that the WebSphere MQ Client for Java should take next. Valid values are:

maxSegmentLength

  1. public int maxSegmentLength
The maximum length for a simple transmission to a queue manager. If the exit returns data which is to be sent to the queue manager, the length of the returned data must not exceed this value.

exitUserArea

  1. public byte[] exitUserArea
A storage area available for the exit to use. Any data placed here is preserved by the WebSphere MQ Client for Java across exit invocations with the same exitID; that is, each send, receive or security exit has its own independent user area.

fapLevel

  1. public int fapLevel
The negotiated Format and Protocol (FAP) level. The default level is 9.

capabilityFlags

  1. public int capabilityFlags
Capabilities of the queue manager.

Only the MQC.MQCF_DIST_LISTS flag is supported.


CurHdrCompression

  1. public int CurHdrCompression
The technique currently being used to compress header data.

CurMsgCompression

  1. public int CurMsgCompression
The technique currently being used to compress message data.

Constructor Detail

MQChannelExit

  1. public MQChannelExit()
Package constructor

Method Detail

setMQCSP

  1. public void setMQCSP(MQConnectionSecurityParameters mqcsp)
Sets an MQConnectionSecurityParameters object. If this object is created and set when a security exit is invoked with MQC.MQXR_SEC_PARMSthen any supplied information will be sent to the Queue Manager.

This applies to channel security exits only.

Parameters:
mqcsp - the MQConnectionSecurityParameters object.

getMQCSP

  1. public MQConnectionSecurityParameters getMQCSP( )
Gets an MQConnectionSecurityParameters object. If no such object has been created, this method will return null.
Returns:
the MQConnectionSecurityParameters object.