Ben,

The Camel DeadLetterChannelBuilder has a property
"defaultDeadLetterEndpointUri" where you can explicitly specify your custom
"dead letter" endpoint. See
(http://svn.eu.apache.org/viewvc/servicemix/components/engines/servicemix-camel/trunk/src/test/resources/org/apache/servicemix/camel/su8-src/camel-context.xml?view=markup&pathrev=710053)
for an example.

/Ron


benshort wrote:
> 
> Thanks Ron that was very helpful.
> 
> If I'm using the Dead Letter Channel and a message fails the max number of
> allowed times can it be sent somewhere else?
> 
> Regards
> 
> Ben
> 
> 
> rgavlin wrote:
>> 
>> Hi Ben,
>> 
>> Yes, although it is not well documented as of yet. You use the Camel
>> ErrorHandler (http://activemq.apache.org/camel/error-handler.html) within
>> the servicemix-camel component to handle errors in a SMX flow. 
>> 
>> See subversion commit
>> (http://svn.eu.apache.org/viewvc?view=rev&revision=710053) for several
>> unit tests that exercise and demonstrate this functionality.
>> 
>> /Ron
>> 
>> 
>> 
>> benshort wrote:
>>> 
>>> Hi,
>>> 
>>> Is it possible to do something like the following mule example with
>>> service mix?
>>> 
>>> http://www.mulesource.org/display/MULE2INTRO/Error+Handler+Example
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Error-Handling-tp21386768p21405410.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to