|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
All classes that transform Websphere MQ messages to MQeMsgObjects, and vice versa, must conform to this interface.
Method Summary | |
void |
activate(java.util.StringTokenizer params)
Tells the class implementing this interface any parameters that may have been supplied with the transformer definition. |
com.ibm.mq.MQMessage |
transform(MQeMsgObject msg,
MQeMQBridgeQueue queue,
com.ibm.mq.MQPutMessageOptions pmo)
This version converts the given MQeMsgObject into a Websphere MQ message. |
MQeMsgObject |
transform(com.ibm.mq.MQMessage msg,
java.lang.String remoteQMgrName,
java.lang.String remoteQName)
This version converts the given Websphere MQ message into an MQeMsgObject. |
Method Detail |
public void activate(java.util.StringTokenizer params) throws java.lang.Exception
Tells the class implementing this interface any parameters that may have been supplied with the transformer definition.
params
- StringTokenizer containing the transformer
definition parameters.
java.lang.Exception
- If the parameters are not correct, valid, or
if there is a problem initialising the transformer.public MQeMsgObject transform(com.ibm.mq.MQMessage msg, java.lang.String remoteQMgrName, java.lang.String remoteQName) throws java.lang.Exception
msg
- The Websphere MQ Everyplace message that is to be transformed.remoteQMgrName
- The name of the destination WebSphere MQ Everyplace
queue manager (obtained from the remote queue definition on Websphere MQ).remoteQName
- The name of the destination WebSphere MQ Everyplace queue
(obtained from the remote queue definition on Websphere MQ).
java.lang.Exception
- If any of the parameters are invalid, if
the message is in a format that this transformer does not understand,
Or if there is a problem when the transformation is taking place.public com.ibm.mq.MQMessage transform(MQeMsgObject msg, MQeMQBridgeQueue queue, com.ibm.mq.MQPutMessageOptions pmo) throws java.lang.Exception
msg
- The Websphere WebSphere MQ Everyplace message that is to be transformed.queue
- A reference to the bridge queue that accepted the messagepmo
- A reference to a blank MQPutMessageOptions object that can be modified
by the transformer. This parameter enables the user to specify any context options
that are needed to put the new WebSphere MQ Everyplace message to Websphere MQ.
java.lang.Exception
- If any of the parameters are invalid, if
the message is in a format that this transformer does not understand,
Or if there is a problem when the transformation is taking place.
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |