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.  backout/error queue capabilities of broker

    Posted 11/29/06 05:52 PM

    What happens to the publishable document after it is picked up by its trigger and corresponding processing service associated with the trigger fails? Does the publishable document vanish totally?

    Is there a way to retain the publishable document in the event of failure in the same queue(rollback) or in a backout queue? Does the broker has any inbuilt functionality? This will help me to automate error handling of transient failures.

    If the associated processing service fails, can the broker automatically put the publishable document to a backout/error queue? What does it take to accomplish this task?

    Regards,
    Srinivas


    #webMethods-General
    #webMethods
    #webMethods-Architecture
    #Integration-Server-and-ESB


  • 2.  RE: backout/error queue capabilities of broker

    Posted 11/29/06 06:51 PM

    What happens to the published document depends on how the trigger service fails. You can force a rollback by calling throwExceptionForRetry. This causes IS to “nack” the document so that it remains on the Broker for a retry, perhaps by another IS instance if there are multiple IS instances connected to the queue.

    There is no notion of a backout or error queue.


    #webMethods
    #webMethods-Architecture
    #webMethods-General
    #Integration-Server-and-ESB


  • 3.  RE: backout/error queue capabilities of broker

    Posted 11/29/06 08:57 PM

    Rob,

    Thanks for the response. In this scenario the trigger service is a flow service and will throw a com.wm.lang.flow.FlowException.

    Also what did you mean when you said the following:

    “This causes IS to “nack” the document so that it remains on the Broker for a retry”

    I did not understand the word “nack”

    Thank you,
    Srinivas


    #webMethods
    #webMethods-Architecture
    #Integration-Server-and-ESB
    #webMethods-General


  • 4.  RE: backout/error queue capabilities of broker

    Posted 11/29/06 10:41 PM

    nack = negative acknowledgement. Indicates to the Broker that the document should not be removed from the queue and should be reprocessed.


    #webMethods
    #webMethods-Architecture
    #Integration-Server-and-ESB
    #webMethods-General


  • 5.  RE: backout/error queue capabilities of broker

    Posted 11/30/06 03:25 PM

    Srinivas,

    In regards to your comment:

    What you can do is have a try-catch block in your Flow service that catches all exceptions and determines if the error is “retriable.” If it is, then invoke pub.flow:throwExceptionForRetry (outside the catch block.)

    • Percio

    #webMethods-General
    #webMethods
    #webMethods-Architecture
    #Integration-Server-and-ESB