camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Garry <>
Subject Do error handling on JBI MessageExchange status?
Date Mon, 11 Aug 2008 21:26:23 GMT


Here's a short configuration involving two JBI endpoints:


  .to ("jbi:endpoint:http//second/jbi/endpoint");

If the second JBI endpoint sets the MessageExchange status to
error (and throws no exception):


I'd like my deadLetterChannel error handler to "fire",
resending the message to the second JBI endpoint per the
configured retry parameters.  I don't get that behavior
now; the route completes normally.

How can I trigger error handling on JBI exchange errors?
I did mess around some with predicates (to inspect the returned
exchange status) but couldn't figure out how to combine
a predicate with a DLC. Any ideas?  Examples?

Thanks, Garry
View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message