IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

How to access body on MSMQ listener notifcation doc?

  • 1.  How to access body on MSMQ listener notifcation doc?

    Posted Mon November 05, 2007 07:43 AM

    How am I supposed to read the Body of an MSMQ listener notifcation message?

    When I debug in Developer the Body is full of garbage (Body = “[B@ced378”) … my MSMQ Body actually contains xml.

    I have tried mapping it into a string but the data does not make it readable.

    It should be “<?xml …>” etc.

    Thanks


    #Integration-Server-and-ESB
    #webMethods
    #Adapters-and-E-Standards


  • 2.  RE: How to access body on MSMQ listener notifcation doc?

    Posted Mon November 05, 2007 07:00 AM

    To answer my own question:

    You have to use a transformer: bytesToString

    Body-> bytesToString → BodyAsString


    #Integration-Server-and-ESB
    #Adapters-and-E-Standards
    #webMethods