Service Virtualization

 View Only

Access RFH2 header information in MQ VS

  • 1.  Access RFH2 header information in MQ VS

    Posted Nov 20, 2014 11:35 AM


    Hi

     

    I am attempting to read information from an RFH2 header in an MQ VS. We are using IBM Websphere, and MQ Websphere.

     

    The header is

     

    JMS Message class: jms_text

      JMSType:         MyOperationName

      JMSDeliveryMode: 2

      JMSExpiration:   3000000

      JMSPriority:     6

      JMSMessageID:    null

      JMSTimestamp:    0

      JMSCorrelationID:MyAPIRef

      JMSDestination:  null

      JMSReplyTo:      queue://QMNGR/PROXY.REQUEST?expiry=60000&priority=6&persistence=1&CCSID=819&targetClient=1

      JMSRedelivered:  false

      JMS_IBM_MsgType:1

     

    I am trying to read the following and put them into properties.

         JMSType:

         JMSCorrelationID:

     

    I have had a start here.... https://communities.ca.com/thread/241692965, in effect I am attempting the converse of what was being asked in this post.

     

    It would be good if someone could explain how to use MqRfh2Header(), and then pull out the necessary fields.

     

    Also I have attempted to use JMS as the virtual service type, but have not been able to get my workstation operational due to conflict between IBM JMS jars, and the vanilla Sun jars.