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.  How to read a particular message from JMS queue

    Posted 12/01/06 06:31 PM

    Hi All,

    I’ve a JMS queue in which there are two different types of messages, and I’ve two separate integrations for them.

    I’m using a JMS polling notification to read the messages from the queue, and found that there is MessageSelector option in there, but not sure how to use it.

    Please can you let me know how to use this option and what setting would be required on the JMS message, if any.

    Thanks,

    Abhijeet


    #JMS-Adapter-Archive-wmUsers
    #webMethods
    #webMethods-Archive


  • 2.  RE: How to read a particular message from JMS queue

    Posted 12/01/06 08:06 PM

    A JMS MessageSelector can be used to subscribe only to those messages which meet the condition. MessageSelectors can use any field in the JMS Header or JMS Properties portion of the message.

    Search on JMSMessageSelector in the JMSAdapter User’s Guide for details.

                        One example might be (assuming your JMS Message was designed to have a custom property called "senderID"):
    
    Properties.senderID = "Accounting"

    Mark


    #webMethods-Archive
    #webMethods
    #JMS-Adapter-Archive-wmUsers


  • 3.  RE: How to read a particular message from JMS queue

    Posted 01/06/11 09:22 AM

    Hi Mark,

    When I used LocalFilter as

    %properties/sourceApplicationName%==“ABCD”, it’s picking the data. But I thought of using JMS Message selector So I tried as you said

    Properties.sourceApplicationName = “ABCD” - Didn’t work.

    Also I tried as below.
    %properties/sourceApplicationName%==“ABCD” - Didn’t work.
    %properties/sourceApplicationName% = “ABCD” - Didn’t work.
    %properties/sourceApplicationName% = ‘ABCD’ - Didn’t work.
    Properties.sourceApplicationName = “ABCD” - Didn’t work.[As you said].

    could you plese tell me how to implement the above filter in JMS Message selector?

    Regards,
    Sam


    #webMethods-Archive
    #webMethods
    #JMS-Adapter-Archive-wmUsers


  • 4.  RE: How to read a particular message from JMS queue

    Posted 11/27/12 03:54 PM

    use
    sourceApplicationName = ‘ABCD’


    #webMethods-Archive
    #JMS-Adapter-Archive-wmUsers
    #webMethods