Repository navigation
Adding Exception Message Header to Envelope when moved to error queue #1721
MatthijsVollenbroek
started this conversation in
General
Replies: 2 comments 2 replies
|
I changed it to this Because i thought maybe the message is not yet loaded. |
0 replies
|
The |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey everyone,
I am new to using Wolverine and I am trying to connect my micro-service (C# .NET) to an existing RabbitMQ service.
Per convention of the existing services, I want to add a header "x-exception" with the exception message to the header of the envelope. This way, we can see the exception message that caused the message to be moved to the error queue.
I have this configuration
Everything seems to work, the retries are performed and then in the end after the failed retries the message is moved to the error queue.
However, when I check the message in the error queue. I am not seeing the x-exception header added.
What am I doing wrong here? I have not been able to find any solutions online.
Your help would be greatly appreciated.
With kind regards,
Matthijs
All reactions