You can use deadLetterChannel().setDefaultDeadLetterEndpoint(endpoint or processor); This endpoint or porcessor will be invoked after Camel RedeliveryPolicy.
Manuel On Mon, Jul 21, 2008 at 7:47 AM, Oleg Atamanenko <[EMAIL PROTECTED]>wrote: > Hello everybody. > > I have the following question: I want to configure custom process of > message > processing. > I have about 10 components, each of them does some work with message. > Every > component can throw exception. > Is it possible configure to route exception to some custom component for > further processing? > > I need to save some information from exception, log it somewhere, create > record in database, notify... > I.e. I want to reroute message to some component, if exception is occured. > > How can I do it with ServiceMix? > > > Best Regards, > Oleg Atamanenko. >
