com.ibm.mq

Class MQReceiveExitChain

    • Constructor Detail

      • MQReceiveExitChain

        public MQReceiveExitChain()
        The default constructor. Creates a Receive Exit Chain.
      • MQReceiveExitChain

        public MQReceiveExitChain(java.util.List collection)
        Constructor.
        Parameters:
        collection - a List object which defines the receive exits which are to be chained.
    • Method Detail

      • receiveExit

        public byte[] receiveExit(MQChannelExit channelExitParms,
                                  MQChannelDefinition channelDefinition,
                                  byte[] agentBuffer)
        Calls the receive exit. This is normally made by the Java client code.
        Specified by:
        receiveExit in interface MQReceiveExit
        Parameters:
        channelExitParms - the definition of the chain of exits.
        channelDefinition - the definition of the channel.
        agentBuffer - the message being passed into the chain of exits.
        Returns:
        the data to be processed. If the exit response code (in channelExitParms is MQXCC_OK the IBM MQ Client for Java can process the data. The simplest receiveExit method therefore, consists of a single line.
        See Also:
        MQReceiveExit.receiveExit(com.ibm.mq.MQChannelExit, com.ibm.mq.MQChannelDefinition, byte[])
      • setExitChain

        public void setExitChain(java.util.List collection)
        Inserts a collection of receive exits into the chain.
        Parameters:
        collection - a List object which defines the receive exits which are to be chained.
(c) Copyright IBM Corp. 2008, 2016. All Rights Reserved.