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
When creating consumers to read the dead letter topic and you want to create some sort of processing logic, you need to compare string messages. This is isn't the most ideal situation because you need to compare string text and you also need to know the exact text coming from the the exception.
That said it would be nice to have an additional header, with the class name of the exception. This makes it easier/safer to compare and also deal with.
As per my conversation with @cescoffier here: https://quarkusio.zulipchat.com/#narrow/stream/294206-smallrye/topic/Suggestion.20for.20DLQ.20strategy.2E/near/300863081
Currently when a message is DLQ, the headers contain the following info as an example:
When creating consumers to read the dead letter topic and you want to create some sort of processing logic, you need to compare string messages. This is isn't the most ideal situation because you need to compare string text and you also need to know the exact text coming from the the exception.
That said it would be nice to have an additional header, with the class name of the exception. This makes it easier/safer to compare and also deal with.
Which means now we can do this:
or
instead of
The text was updated successfully, but these errors were encountered: