We are using callbacks (request/reply) together with the outbox.
In case something goes wrong in a (request) message handler, we would like to rollback all published messages, but we would still like to send a reply to the client. Tests show us that the reply is stored in the outbox, so rolling back the outbox transaction will also rollback the reply.
How can we send back the error to the client so that the request won’t hang until it times out?
I understand this must be difficult to combine this with retries. We have disabled retries for callbacks.