Using the MQeMbMsgObject with the bridge and without application change

This migration makes no changes to the application, but still uses the MQe bridge instead of the MQe broker node. The disadvantages are that it requires the use of deprecated MQe classes and may also result in excessive processing within the broker message flow.

The following work is required:
  1. Modify the message flow on the broker such that MQ input nodes are used instead of MQe input nodes. Add a filter node into the flow such that (a) any subscribe and un-subscription messages are sent to the broker’s control queue SYSTEM.BROKER.CONTROL.QUEUE, and (b) publication messages are sent to the input queue of the appropriate message flow.
    An example of the ESQL needed for the filter node:
    BEGIN
    
            IF   InputRoot.MQRFH2.psc.Command = 'RegSub' OR
                 InputRoot.MQRFH2.psc.Command = 'DeregSub' OR 
                 InputRoot.MQRFH2.psc.Command = 'ReqUpdate' THEN
                 RETURN TRUE;
    		    END IF;
    
            IF   InputRoot.MQRFH2.psc.Command = 'Publish' OR
    			       InputRoot.MQRFH2.psc.Command = 'DeletePub' THEN
    			       RETURN FALSE;
            END IF;
    
            RETURN UNKNOWN;
    END;
  2. Configure an MQe bridge to transfer and transform MQe messages from the MQe network to the MQ network underlying the broker topology. The bridge transformer class must be configured to be com.ibm.mqe.mqbridge.MQeMbTransformer. One bridge queue only must also be configured, such that it directs all messages to the input queue of the appropriate message flow.
  3. If the node's destination mode was set to Reply To Queue and your destination queue manager and destination queue are different than your reply to queue manager and reply to queue, you will need to set a Java™ system property to prevent the destination fields from being copied into the reply to fields in the MD of the MQ message. The system property "com.ibm.mqe.mqbridge.MQeMbTransformer.keepReplyTo can be set to any value. To set using a Java program, add the -Dproperty=value VM argument. If you are using the MQeExplorer or MQeScript executables from the MQeServerSupport SupportPac™, you will need to create a .sp file. Refer to the MQeServerSupport Installation Guide for more information.

Terms of use | WebSphere software

(c) Copyright IBM Corporation 2004, 2005. All rights reserved.