camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bilgin Ibryam <bibr...@gmail.com>
Subject Re: An urgent aws SQS consumer question
Date Sat, 03 Nov 2012 00:17:32 GMT
Thanks Raul.
The step I missed was setting handled to true. I will try that one

Bilgin

On 2 November 2012 23:19, Raul Kripalani <raul@evosent.com> wrote:

> 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
> happened.
>
> Sent from a mobile device
> On 2 Nov 2012 22:48, "Bilgin Ibryam" <bibryam@gmail.com> 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
> >
>

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