0 Replies Latest reply on Jan 26, 2016 4:31 AM by Anand Kumar

    Invoke Activity Failure and Recovery

    Anand Kumar Newbie

      Trying to achieve the functionality as described at ODE link http://ode.apache.org/extensions/activity-failure-and-recovery.html


      SwitchYard 2.0.0


      I have created SwitchYard project with BPEL component and successfully able to call external webservice. I have placed below tag inside bpel:invoke


      <ext:failureHandling xmlns:ext="http://ode.apache.org/activityRecovery"> <ext:faultOnFailure>false</ext:faultOnFailure> <ext:retryFor>10</ext:retryFor> <ext:retryDelay>10</ext:retryDelay> </ext:failureHandling> 

       

      Now for testing this scenario i have stopped external service instance.  Now It should retry for 10 times with interval of 10 seconds. By default SwitchYard BPEL is failing and timeout occurs with Timeout or execution error message.