I have two services:
parentService and childService.
Both the services use exceptionhandling(try/catch).both services’ catch block publishes error to broker.
parentService calls childService.
childService has some logic: say if some value cannot be updated in the database, it exits the flow signalling the “error message”.
My doubt is : if control reaches to “exit flow”, does it exit the flow and do what ever is there in catch block of childService and then return to tha catch block of parentService and execute the steps in that block???
If the exit flow reaches to the catch blocks of child and parent, I think this leads to redundancy of publishing the same error to broker twice!!!
Can anyone clarify my doubt