com.ibm.mqe.mqbridge
Class MQeMbTransformer
java.lang.Object
|
+--com.ibm.mqe.mqbridge.MQeJMSRFHTransformer
|
+--com.ibm.mqe.mqbridge.MQeMbTransformer
- All Implemented Interfaces:
- MQeJMSMsgFieldNames, MQeTransformerInterface
Deprecated. It is recommended that messages of class MQePubSubMsgObject
are used instead of MQeMbMsgObject
; the bridge should then be configured
to use the MQeJMSRFHTransformer
transformer.
- public class MQeMbTransformer
- extends MQeJMSRFHTransformer
This transformer is intended to support the
com.ibm.broker.mqimqe.wrapper.MQeMbMsgObject
message. It offers
identical function to the MQeJMSRFHTransformer
, except:
- Incoming messages from MQe of the class
MQeMbMsgObject
are
accepted, along with all the messages classes supported by
MQeJMSRFHTransformer
.
- Outgoing messages to MQe which would have been of the
MQePubSubMsgObject
class from the MQeJMSRFHTransformer
, are transformed into messages of
the MQeMbMsgObject
class.
- Any setting of the MQ RFH2 structure id in the input message is ignored; likewise
the value is not set in the output message.
- Any setting of the MQ RFH2 version number in the input message is ignored; likewise
the value is not set in the output message.
- The default behaviour for incoming
MQeMbMsgObject
point-to-point messages from MQe
will be to replace the ReplyToQmgr and ReplyToQ with the DestQueueMgr and DestQueueName. To prevent
this replacement, set the java system property "com.ibm.mqe.mqbridge.MQeMbTransformer.keepReplyTo" to
any value
Field Summary |
static java.lang.String |
copyright
Deprecated. |
Fields inherited from interface com.ibm.mqe.jms.MQeJMSMsgFieldNames |
MQe_JMS_BODY, MQe_JMS_CLASS, MQe_JMS_CORRELATIONID, MQe_JMS_DELIVERYMODE, MQe_JMS_DESTINATION, MQe_JMS_EXPIRATION, MQe_JMS_HEADER, MQe_JMS_MESSAGEID, MQe_JMS_PRIORITY, MQe_JMS_PROPERTIES, MQe_JMS_PS_PROPERTIES, MQe_JMS_REDELIVERED, MQe_JMS_REPLYTO, MQe_JMS_TIMESTAMP, MQe_JMS_TYPE, MQe_JMSX_PROPERTIES |
Method Summary |
com.ibm.mq.MQMessage |
transform(MQeMsgObject mqeMsg,
MQeMQBridgeQueue queue,
com.ibm.mq.MQPutMessageOptions options)
Deprecated. Converts an MQe format message into an MQ format message. |
MQeMsgObject |
transform(com.ibm.mq.MQMessage mqMsg,
java.lang.String remoteQMgrName,
java.lang.String remoteQName)
Deprecated. Convert a MQ format message into a MQe format message. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyright
public static final java.lang.String copyright
- Deprecated.
- See Also:
- Constant Field Values
MQeMbTransformer
public MQeMbTransformer()
- Deprecated.
transform
public com.ibm.mq.MQMessage transform(MQeMsgObject mqeMsg,
MQeMQBridgeQueue queue,
com.ibm.mq.MQPutMessageOptions options)
throws java.lang.Exception
- Deprecated.
- Converts an MQe format message into an MQ format message. This method is
called by the MQ/MQe bridge.
- Specified by:
transform
in interface MQeTransformerInterface
- Overrides:
transform
in class MQeJMSRFHTransformer
- Parameters:
mqeMsg
- The MQe message object we are to transform.queue
- A reference to the MQe queue where the message was put
(e.g. For determining default expiry time etc...).options
- A reference to a MQPutMessageOptions object in which any
required options for the put operation should be placed.
- Returns:
- The equivalent MQ format message.
- Throws:
java.lang.Exception
- If the parameters are not valid, or if
the message is in a format that this transformer does not understand.
transform
public MQeMsgObject transform(com.ibm.mq.MQMessage mqMsg,
java.lang.String remoteQMgrName,
java.lang.String remoteQName)
throws java.lang.Exception
- Deprecated.
- Convert a MQ format message into a MQe format message. This method is
called by the MQ/MQe bridge.
- Specified by:
transform
in interface MQeTransformerInterface
- Overrides:
transform
in class MQeJMSRFHTransformer
- Parameters:
mqMsg
- The MQ message object to be transformed.remoteQMgrName
- The destination remote queue manager name
(from the MQ remote queue definition).remoteQName
- The destination remote queue name (from the
MQ remote queue definition).
- Returns:
- The equivalent MQe format message.
- Throws:
java.lang.Exception
- propagated from the called methods.