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
  • 1.  Transient error handling in JMS Trigger

    Posted Wed February 01, 2017 05:17 AM

    Hi

    I need to roll back the message to queue if there is any error (Fatal or transient) while processing the trigger service. Also I need to suspend the JMS trigger.

    I have set the property suspend on transient error. I want to know how trigger will get to know in case of transient error. How to implement this. Can anyone please help on this.


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Transient error handling in JMS Trigger

    Posted Wed February 01, 2017 08:32 AM

    Hi,

    configure Trigger for “Suspend and Retry Later”.

    In the triggered service use throwExceptionForRetry in the catch-block where the error is handled.

    See IS Built-In-Services Reference and the Using_Integration_Server_to_Build_a_Client_for_JMS Guide for details.

    Regards,
    Holger


    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Transient error handling in JMS Trigger

    Posted Thu February 02, 2017 04:39 AM

    Hello,
    You have to write your own logic to decide which exception should be classified as transient for your interface. Then, use the service mentioned to throw the exception for retry.

    What is the transaction type you have used while configuring the JMS Connection alias?

    Regards
    Sasa


    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: Transient error handling in JMS Trigger

    Posted Thu February 02, 2017 01:09 PM

    You have to write a resource monitoring service which needs to be referenced in trigger and a simple code to check if its a transient error or not. If transient error outside the main sequence then throwExceptionForRetry.


    #webMethods
    #Integration-Server-and-ESB