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


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Problem in receiving JMS message from Queue with multiple consumers

    Posted 07/06/22 04:25 AM

    Hello,

    We have 3 Integration Servers and a common Universal Messaging setup.

    All 3 IS have a flow service “sendTraceWM” which sends JMS message to a common JMS Queue “Queue1” in Universal Messaging.

    In all 3 IS, the message is being received by a JMS trigger which is subscribed to the common queue.

    So basically, the queue has 3 consumers.

    The objective is that JMS Message should be consumed by the consumer JMS Trigger of same server whose sendTraceWM service produced the message.

    In order to differentiate between the consumers, we introduced a filter in the JMS trigger on the server alias present in the incoming JMS message.

    The problem is some messages are being received and some are not.

    The question is: in case of the filter condition in a consumer trigger not matching with the JMS message, is the document in the queue removed with the error ‘No matching Routing Rule found’ or will it be available in the queue for the other JMS consumers to process ?


    #Integration-Server-and-ESB
    #webMethods
    #Universal-Messaging-Broker


  • 2.  RE: Problem in receiving JMS message from Queue with multiple consumers

    Posted 07/06/22 06:06 AM

    The answer to your question is conditional, so I need more info -

    1. Are you using a Provider filter or Local filter, on the triggers?

    2. How are you saying the following? Just by looking for a “No condition matches…” log message?

    KM


    #Integration-Server-and-ESB
    #Universal-Messaging-Broker
    #webMethods


  • 3.  RE: Problem in receiving JMS message from Queue with multiple consumers

    Posted 07/06/22 07:18 AM

    Hello Kasi,

    We are using Local filter on the triggers.

    To answer your 2nd question, it is the error which we see in the server.log of Integration Server during service is being executed. It is like below:
    “JMS Trigger CustomPackage.trigger:defaultJMSTrigger is rejecting message ID:e82a9c90-fd15-11ec-a533-00000000006e. No matching Routing Rule found.”

    Thanks and Regards
    Ajay Singh Thakur


    #webMethods
    #Universal-Messaging-Broker
    #Integration-Server-and-ESB


  • 4.  RE: Problem in receiving JMS message from Queue with multiple consumers

    Posted 07/06/22 07:39 AM

    Seems like a syntax issue with the filters, where you may not have enclosed the string values in single quotes (for example, myString < ‘ABC’).
    Review the examples on page 85 here, and correct them accordingly (link).

    KM


    #webMethods
    #Universal-Messaging-Broker
    #Integration-Server-and-ESB


  • 5.  RE: Problem in receiving JMS message from Queue with multiple consumers

    Posted 07/09/22 07:17 AM

    Hi

    Also, messages will be discarded from the JMS provider if the condition does not match.


    #Integration-Server-and-ESB
    #webMethods
    #Universal-Messaging-Broker


  • 6.  RE: Problem in receiving JMS message from Queue with multiple consumers

    Posted 07/11/22 03:42 PM

    Can you share the objective of what this technical approach is attempting to do? You mention “objective” of single subscriber getting the message, but that seems to me to be a technical aspect of a design approach (the how), rather than the why. I ask because perhaps there is another way to achieve what is desired rather than circumventing the messaging infrastructure–the 3 IS instances are all presumably acting as a logically single client. But this process is trying to treat them as individuals.


    #webMethods
    #Integration-Server-and-ESB
    #Universal-Messaging-Broker


  • 7.  RE: Problem in receiving JMS message from Queue with multiple consumers

    Posted 07/11/22 11:28 PM

    This sentense seem to me we’re trying achieve something technically possible and practically questionable. So, it perhaps can be done, and there’s better way to do it instead.

    I’d use local pub/sub instead. Doesn’t even need to involve UM.


    #Integration-Server-and-ESB
    #webMethods
    #Universal-Messaging-Broker