camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "E.Gherardini" <>
Subject Re: Camel 2.9.1 DeadLetterChannel infinite loop
Date Tue, 03 Jul 2012 19:32:29 GMT
Hello sarfarj,
this is the doTry() doCatch() solution I've found. I remark that the
approach suggested by Claus (which is basically using the Recipient List EIP
to choose the dead letter queue at runtime) is much more cleaner.

	public void configure() throws Exception {
				.to(DEST_1, DEST_2)			
						// redeliver 'redeliveriesCount' times
						.log(LoggingLevel.ERROR, exceptionMessage().toString())
						.log(LoggingLevel.ERROR,"Message <${body}> sent to deadLetterQueue <"+


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

View raw message