Websphere MQ Everyplace

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:


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
 
Constructor Summary
MQeMbTransformer()
          Deprecated.  
 
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
 
Methods inherited from interface com.ibm.mqe.mqbridge.MQeTransformerInterface
activate
 

Field Detail

copyright

public static final java.lang.String copyright
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

MQeMbTransformer

public MQeMbTransformer()
Deprecated. 
Method Detail

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.

Websphere MQ Everyplace