Hi With dead letter queue, do you mean that Camel is currently handling redelivery and that those messages are queued because the redelivery has some delays and are therefore waiting for next attempt. And that during shutdown you want to "know and access those pending messages" ?
On Mon, Jun 15, 2015 at 8:05 AM, udaykumarjonna <ujon...@csc.com> wrote: > Hi Claus , > > I'm using DeadLetterChannel .Please find my configuration > > <errorHandler id="retryHandler" type="DeadLetterChannel" > onRedeliveryRef="redeliveryLogger" deadLetterUri="direct:email-error" > transactionManagerRef=""> > <redeliveryPolicy maximumRedeliveries="{{standardRetryLimit}}" > redeliveryDelay="{{standardRetryIntervalMs}}" logRetryAttempted="true" > retryAttemptedLogLevel="WARN" /> > </errorHandler> > > On any exception in my code I'm handling the request to retryHandler > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/DeadLetterQueue-Access-the-object-before-shutDown-tp5768069p5768227.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/