You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a patterns when we would like to produce an ErrorMessage and do something called compensation reply in the error handling sub-flow.
To fulfill request-reply pattern requirements, we have to have a replyChannel header to be able to reply correctly after error handling.
Right now this leads into some extra transformation step to carry out headers from the failed message of the handled ErrorMessage into our reply Message:
If we would copy failed (request) message headers into an ErrorMessage, we would not need extra message building code in that error handler to produce compensation reply correctly:
There is a patterns when we would like to produce an
ErrorMessage
and do something called compensation reply in the error handling sub-flow.To fulfill request-reply pattern requirements, we have to have a
replyChannel
header to be able to reply correctly after error handling.Right now this leads into some extra transformation step to carry out headers from the failed message of the handled
ErrorMessage
into our replyMessage
:See an example on StackOverflow: https://stackoverflow.com/questions/74658669/error-handling-issue-with-http-responseentity-using-expressionevaluatingrequesth
If we would copy failed (request) message headers into an
ErrorMessage
, we would not need extra message building code in that error handler to produce compensation reply correctly:The text was updated successfully, but these errors were encountered: