camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Varun Vasan <var...@hifx.co.in>
Subject Not getting out of Processor
Date Wed, 05 Feb 2014 16:11:38 GMT
Hi,

I wrote a custom processor which consumes a message from amazon sqs. When
run, the processor is not getting out of the processor. In the processor,
there is a read to amazon dynamodb. It keeps on consuming the same message
and is stuck there. Please help.

from(sqsQueue)
                    .unmarshal()
                    .json(JsonLibrary.Gson, Hello.class)
                    .process(new DatabaseEntryHandler())
                    .process(new Processor() {
                        @Override
                        public void process(Exchange exchange) throws
Exception {
                            System.out.println("processor");
                        }
                    });

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