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.



#Automation

 View Only
Expand all | Collapse all

Issue with receiving MapMessage from JMS trigger. WebMethods 9.10

  • 1.  Issue with receiving MapMessage from JMS trigger. WebMethods 9.10

    Posted Thu October 05, 2023 08:02 PM

    Product/components used and version/fix level:

    webMethods 9.10, fix level IS_9.10_Core_Fix5

    Detailed explanation of the problem:

    I’m using JMS trigger to receive MapMessage object. I can see it in MWS audit pipeline, but in the subscribing service, the JMSMessage/body is empty.

    Please help.
    Thank you.


    #webMethods


  • 2.  RE: Issue with receiving MapMessage from JMS trigger. WebMethods 9.10

    Posted Fri October 06, 2023 02:36 AM

    @marinap Its should be available in JMSMessage/body/{object/string/bytes/data/message} . In which ever form you send the message. kindly double check


    #webMethods


  • 3.  RE: Issue with receiving MapMessage from JMS trigger. WebMethods 9.10

    Posted Sun October 08, 2023 06:31 PM

    Hi Dinesh, in the flow service the body is an empty document without any of object/string.bytes/data/message


    #webMethods


  • 4.  RE: Issue with receiving MapMessage from JMS trigger. WebMethods 9.10

    Posted Mon October 09, 2023 11:15 AM

    Using JMSMessage and consuming them later can be annoying. Imo its better to use publishable documents.

    This is the important part. You need to get the message from where you publish to JMS. Check the publisher service and then compare it with consumer service. For example you can’t consume a message from object if you published it to string.

    Avoiding JMS messages whenever possible is more convenient though, I would recommend changing the structure to use publishable documents instead. If the publisher is 3rd party then you should create a wrapper service instead of giving them JMS end points.


    #webMethods


  • 5.  RE: Issue with receiving MapMessage from JMS trigger. WebMethods 9.10

    Posted Mon October 16, 2023 07:38 PM

    Thank you Dinehs. The body is empty when I save pipeline and look at the file


    #webMethods


  • 6.  RE: Issue with receiving MapMessage from JMS trigger. WebMethods 9.10

    Posted Mon October 16, 2023 07:40 PM

    Thank you all for your help.
    The publisher is a 3rd party tool. I gave up on trying to figure it out and asked for them to send concatinated string


    #webMethods