Team,
I have a scenario where my BPEL A is invoking BPEL B.
BPEL B invokes a REST service through Invoke activity and a fault policy have been defined to retry 3 times if the invoke fails with a particular error code, say OSB-38240.
In the service error handler we are returning output variable with the customized message to the calling BPEL.
SCENARIO 1: Fault Policy with just rethrow setting
BPEL B sends output customized message to main BPEL and BPEL A continues execution from that point which is as expected and works perfect.
SCENARIO 2: Fault Policy condition matches and retry is happening 3 times
Retry happens three times and then if we check the audit trail, service error handler is invoked and we see reply activity is getting executed with the customized message
But main BPEL A invoke activity fails with the below exception ( the expectation is it should receive the output message from BPEL B and continue execution)
request-response conversation has timed out for component
How to get the customized output message in BPEL A everytime the retry fails in B?
Thanks,
soa05.