Re: Custom error handler for logging + dlq + riemann

2013-07-10 Thread Frazer Irving
Fantastic, thank you On 10/07/2013 17:13, "Bilgin Ibryam" wrote: >Hi Frazer, > >you can get access the exception from the exchange property: >Exchange.EXCEPTION_CAUGHT > >HTH >Bilgin > >On 10 July 2013 11:53, Frazer Irving >wrote: > >> Hi, >&

Custom error handler for logging + dlq + riemann

2013-07-10 Thread Frazer Irving
Hi, I'm trying to create an error handler that sends messages to a DLQ, sends events to riemann and logs the error with a stack trace. I have done something like the following. public RiemannSendProcessor extends SendProcessor { public void process (Exchange exchange, AsyncCallback callback)