public class MQExternalSendExit extends MQExternalUserExit implements MQSendExit
An MQExternalSendExit object holds all the information required to construct the MQCXP and MQCD structures that are required when calling the non-Java send exit.
| Constructor and Description |
|---|
MQExternalSendExit()
The default constructor.
|
MQExternalSendExit(java.lang.String libraryName,
java.lang.String entryPointName,
java.lang.String userData)
Constructs an object with an exit already defined.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
sendExit(MQChannelExit exitParms,
MQChannelDefinition channelParms,
byte[] data)
Calls the external user exit.
|
getReasonCode, getUserData, setEntryPointName, setLibraryName, setNewBuffer, setUserDatapublic MQExternalSendExit()
public MQExternalSendExit(java.lang.String libraryName,
java.lang.String entryPointName,
java.lang.String userData)
libraryName - the name of the library module that contains the exit.entryPointName - the name of the entry point in libraryName used by the exit.userData - the data defined by the user.public byte[] sendExit(MQChannelExit exitParms, MQChannelDefinition channelParms, byte[] data)
sendExit in interface MQSendExitexitParms - the data on the exit.channelParms - the data on the channel.data - the raw message data.MQChannelExit,
MQChannelDefinition