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.  Filter on an array

    Posted 05/14/03 02:21 AM

    Is it possible to use a document filter in an integration component based on an array field? If not, any suggestions?

    Thanks
    Cort


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


  • 2.  RE: Filter on an array

    Posted 05/14/03 03:08 PM

    I don’t know how that happened but it looks like my first post did not show any text in the email. Here’s my question again:

    Can an integration component filter documents based on an array field in that document?

    Thanks
    Cort


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


  • 3.  RE: Filter on an array

    Posted 05/15/03 01:52 PM

    Hi, Cortney.

    Broker gives you some flexibility is filtering documents. You can use booleans, comparison operators, regular expressions, constants and computed values to narrow your subscriptions.

    Considering a document’s Struct array as a constant, you can target a specific node using the following notation:

         nameOfStruct.nameOfField[index]
    A real example of this notation is:
         CustomerList.activeCustomers[54]
    I hope this is helpful for you. If you find anything interesting in your filtering, be sure to post it here for the rest of us to learn from. Thanks!


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