webMethods

webMethods

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
  • 1.  MQAdapter and Triggers null MSGBODY

    Posted Fri May 16, 2008 08:56 PM

    Hello,

    I have been working on a listener for MQ. This listener involves the transactional listener, the listener notification, and a trigger.

    Whenever I place a message on the queue that the listener is monitoring, everything works great. The document is published locally, the trigger calls the flow I am trying to use - great.

    In the flow that is called by the trigger, I have tried 2 separate things with conflicting results. First, I attempt to write the message body of the published document to the debug log. What shows up is the following,

    EDT [ISP.0090.003C] null

    So apparently the message body of the MQ message is null. HOWEVER when I save the pipeline to a file, I see the message body exactly how I expected it in the XML formatted output.

    Any ideas?


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: MQAdapter and Triggers null MSGBODY

    Posted Fri May 16, 2008 11:43 PM

    What is the fully-qualified name of the variable holding the msgbody when the pipeline is saved to a file? Do you need to conver the msgbody from an object to a string before you can work with it?

    Mark


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 3.  RE: MQAdapter and Triggers null MSGBODY

    Posted Tue May 27, 2008 07:34 AM

    The msgBody populating from the notification document is an object , try converting it to string before u log.

    Shyam


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 4.  RE: MQAdapter and Triggers null MSGBODY

    Posted Thu March 15, 2012 09:50 PM

    I’m having the same problem - I’m entering data on a CICS mainframe application and the data is getting sent to MQ queues. My webMethods package is ‘listening’ for it. I have created an adapter, listener, and listener notification. My package does get kicked off as I have a debuglog as my first statement and I am seeing entries in my log. All entries are coming out as ‘null’. I’m not sure what to look at next.

    Any help would be appreciated.
    Thank You!


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 5.  RE: MQAdapter and Triggers null MSGBODY

    Posted Sat March 17, 2012 12:47 AM

    I have the same issue. At what point does the Notifier doc get loaded.


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB