include original exception when using deadletterchannel

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

include original exception when using deadletterchannel

jaco.uys
Hi,

I am using deadletterchannel to route failed messages to an error queue. I would like to include the original exception as a header on the message that is send to the error queue.

Does anyone know how to do this?

Regards Jaco