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
Expand all | Collapse all

Restricting subscribers to subscribe only from same server where it got published

  • 1.  Restricting subscribers to subscribe only from same server where it got published

    Posted Fri June 24, 2016 07:08 AM

    Do we have a way to restrict the IS trigger to subscribe only the documents published from its own server?

    For ex, if you have two nodes n1 & n2 on clustering, for certain interfaces we want the doc published from n1 should be subscribed only by subscriber at n1 not by n2.

    We have two webMethods Integration server 9.8 clustered through Teracotta with Messaging server as Universal messaging 9.8


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


  • 2.  RE: Restricting subscribers to subscribe only from same server where it got published

    Posted Fri June 24, 2016 07:26 AM

    Hi Ravi,
    you can’t control this in UM, but you can bind an IS document type to the Local webMethods Messaging alias which will ensure that any documents published are available only to triggers on the same IS. These messages stay on the IS and never actually get sent to UM.


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


  • 3.  RE: Restricting subscribers to subscribe only from same server where it got published

    Posted Fri June 24, 2016 07:44 AM

    Thanks Jonathan. Hope you are referring to a local publish, by setting variable ‘local’ as ‘true’ on pub.publish:publish service.


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


  • 4.  RE: Restricting subscribers to subscribe only from same server where it got published

    Posted Fri June 24, 2016 08:38 AM

    Ravi,
    I checked the documentation and unfortunately what you want is not possible with 9.8. The local flag on the pub.publish:publish service is not supported when sending to UM.
    In 9.9 and higher, there is a new system wM Messaging alias called IS_LOCAL_CONNECTION. If you set this as the connection alias for an IS document type, it will only be available to triggers on the local IS.


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