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.

 View Only
Expand all | Collapse all

publishing locally when broker is configured

  • 1.  publishing locally when broker is configured

    Posted Tue April 25, 2006 04:30 PM

    i have a situation where IS has been configured to a particular broker, but now i want to publish some documents locally… is it possible to do, if it is how?

    Thanks,


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


  • 2.  RE: publishing locally when broker is configured

    Posted Tue April 25, 2006 04:38 PM

    Christina,

    Try setting the “local” parameter on pub.publish:publish to “true”. This built-in service is described in the IS Built-In Services Guide PDF found in the webm_home\Developer\doc folder.

    Mark


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


  • 3.  RE: publishing locally when broker is configured

    Posted Tue April 25, 2006 10:59 PM

    Mark,

    Our IS is configured to talk to a broker.

    All publishable documents are by default pointing to the broker.

    “Broker doc type” cannot be set to local in the document properties.

    How can I publish documents to the broker?

    Thanks,
    Christina


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


  • 4.  RE: publishing locally when broker is configured

    Posted Tue April 25, 2006 11:23 PM

    Christina,

    You can still publish to the local IS when IS is configured to use a broker. Set the value of the localPublish input parameter to “true” on the pub.publish:publish service that you are using to publish your document type.

    Note: This parameter is on the invoke statement of pub.publish:publish not on the document types property settings. Of course, the doc type must be marked as publishable=true in order to be able to publish the document in the first place or to be able to subscribe to one using a trigger.

    HTH,

    Mark


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


  • 5.  RE: publishing locally when broker is configured

    Posted Fri May 05, 2006 09:22 AM

    Mark,

    If webMethods is clustered using WM cluster with 3 nodes what happens if I publish a document to local IS. Will the WM repository take care of that and make that document avialable for 3 nodes or only the local IS would be able to process that document.

    Ram


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


  • 6.  RE: publishing locally when broker is configured

    Posted Mon May 08, 2006 02:17 AM

    I believe it will be available for 3nodes of IS cluster sharing.

    HTH,
    RMG


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


  • 7.  RE: publishing locally when broker is configured

    Posted Mon May 08, 2006 02:53 PM

    Hi,

    Can someone let me know the scenario in which we use to publish locally and publish to the broker???

    With Regards,
    Navanee


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


  • 8.  RE: publishing locally when broker is configured

    Posted Mon May 08, 2006 08:54 PM

    What makes you believe that? According to the pub/sub guide, “[FONT=PalatinoLinotype][SIZE=2]Only subscribers on the same Integration Server can receive and process the document.”

    I have not seen any docs indicating that local publish in an IS cluster gets special treatment. AFAIK, the trigger document stores are not shared.
    [/size][/font]


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


  • 9.  RE: publishing locally when broker is configured

    Posted Mon May 08, 2006 09:47 PM

    This is just one opinion: if you have a Broker, always publish to the Broker. In other words, never set the local variable to true on the pub.publish:publish call.

    Using local publish will defeat any redundancy/load balancing/failover that you may have in place.


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


  • 10.  RE: publishing locally when broker is configured

    Posted Mon May 08, 2006 10:23 PM

    Thanks for correction Rob,i misunderstood the original query.

    HTH
    RMG


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


  • 11.  RE: publishing locally when broker is configured

    Posted Tue May 16, 2006 07:08 PM

    As a follow up top Rob’s last post, Christina, why do you want to publish locally? Why don’t you want to use the broker since you have one?

    Roger


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