camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raul Kripalani <>
Subject Re: An urgent aws SQS consumer question
Date Fri, 02 Nov 2012 23:19:23 GMT
Have you tried using an onException block that captures
java.lang.Exception, setting handled to true? That should clear the
exception, and to the SQS consumer it will seem as if nothing special had

Sent from a mobile device
On 2 Nov 2012 22:48, "Bilgin Ibryam" <> wrote:

> Hi all,
> I need to read and remove messages from SQS queue even when there are
> exceptions during the processing in the camel route.
> Currently camel will leave the message in SQS if there were exceptions
> during the processing.
> Any suggestions how to achieve that? I guess I have to use some error
> handler or find another way to remove messages cause exception from SQS.
> thanks in advance
> Bilgin

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message