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.  Pub-Sub model with multiple trigger conditions

    Posted Sat August 24, 2013 12:38 PM

    Hi all,

    I am new to webMethods and got stuck while creating a PUB-SUB model.

    I have a broker document, and i am publishing it through a flow service.
    Now i want to invoke two different services as subscribing services, based on some conditions. For this i have created a trigger with the published document type and defined two conditions with different services. But the developer is not allowing me to save the trigger conditions.
    It says that

    and also for single condition it is working fine.

    Please suggest, thanks in advance.

    Best regards…
    Abhishek


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


  • 2.  RE: Pub-Sub model with multiple trigger conditions

    Posted Sun August 25, 2013 02:27 AM

    That is expected and the error message that you saw has straight message… You have to create two different broker triggers that subscribes to same document with different filter conditions.

    -Senthil


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


  • 3.  RE: Pub-Sub model with multiple trigger conditions

    Posted Sun August 25, 2013 09:58 AM

    Hi Senthil,

    Thanks for replying, i did try that and it is working fine, But i was wondering that why are we allowed to have multiple conditions on the same document without filters but multiple conditions with filters are not allowed.

    If you could please elaborate the concept of having multiple conditions with and without filters, would be a great help.

    Thanks and Regards…
    Abhishek Jain


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


  • 4.  RE: Pub-Sub model with multiple trigger conditions

    Posted Mon August 26, 2013 02:26 AM

    As the error message stated, you can’t have multiple documents with same document types defined in one trigger, however you can have multiple conditions with different document types defined for the same trigger. This is how it works.

    Regards
    Senthil


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


  • 5.  RE: Pub-Sub model with multiple trigger conditions

    Posted Mon August 26, 2013 05:25 AM