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.  Trigger max attempt property

    Posted Mon March 17, 2008 09:48 PM

    Hi All,
    Can anyone please let me know how to access trigger max attempts property from the flow service. Is there a java API or built-in service to do this.
    E.g. if max attempts is set to 5(trigger properties)
    I need to access this value in flow service.
    Thank you,
    Salvo.


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


  • 2.  RE: Trigger max attempt property

    Posted Tue March 18, 2008 06:04 AM

    I do not think this is possible using the public API. What are you trying to achieve anyway?


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


  • 3.  RE: Trigger max attempt property

    Posted Tue March 18, 2008 02:54 PM

    pub.flow:getRetryCount returns retryCount and maxRetryCount


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


  • 4.  RE: Trigger max attempt property

    Posted Tue March 18, 2008 03:18 PM

    Thank you Sekay and Markg,
    I see this property can be accessed in 6.5 but we are on 6.1


    I will suspend the trigger if the error on subscription is persistent.
    To do this I need to access this value dynamically or need to hardcode it.


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


  • 5.  RE: Trigger max attempt property

    Posted Tue March 18, 2008 05:16 PM

    Salvo,

    I am not sure if you can pull that information in 6.1 since retry functionality came in SP2 of 6.1 IS, someone correct me if I am wrong.

    But to achieve your goal i would say that use property file to pull the max retry value and substitute that variable in “Max Attempts” in Properties window.

    HTH


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