Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3145E10FF5 for ; Mon, 14 Oct 2013 15:12:03 +0000 (UTC) Received: (qmail 21585 invoked by uid 500); 14 Oct 2013 15:12:02 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 21506 invoked by uid 500); 14 Oct 2013 15:12:00 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Delivered-To: moderator for users@camel.apache.org Received: (qmail 13194 invoked by uid 99); 14 Oct 2013 15:06:06 -0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of bulent@vt.edu does not designate 216.139.236.26 as permitted sender) Date: Mon, 14 Oct 2013 08:05:39 -0700 (PDT) From: bulentcamel To: users@camel.apache.org Message-ID: <1381763139081-5741541.post@n5.nabble.com> Subject: Amazon SQS listener as multi-threaded MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm using the Camel Amazon SQS plugin to get messages from an Amazon SQS. It works fine but it is not very efficient for my purposes. I would like to figure out how I can make things run faster by listening to the queue in parallel and retrieve multiple messages from multiple listeners. If I don't do that, my listener listens to the messages and retrieves a batch of messages and waits until those are processed to be able to pick the next batch. This is very slow. What would be the best way to achieve this? Is there any other Camel tool that can help me or do I need to implement my thread pool and try to use the camel route in each thread? I'm not even sure if the second option is even possible. I appreciate any input. Thanks! Bulent -- View this message in context: http://camel.465427.n5.nabble.com/Amazon-SQS-listener-as-multi-threaded-tp5741541.html Sent from the Camel - Users mailing list archive at Nabble.com.