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 A7C4910EA8 for ; Thu, 9 Jan 2014 01:45:36 +0000 (UTC) Received: (qmail 45688 invoked by uid 500); 9 Jan 2014 01:45:36 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 45655 invoked by uid 500); 9 Jan 2014 01:45:36 -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 Received: (qmail 45647 invoked by uid 99); 9 Jan 2014 01:45:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jan 2014 01:45:36 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of agrawal.tarun23@gmail.com designates 209.85.223.175 as permitted sender) Received: from [209.85.223.175] (HELO mail-ie0-f175.google.com) (209.85.223.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jan 2014 01:45:30 +0000 Received: by mail-ie0-f175.google.com with SMTP id x13so2931747ief.20 for ; Wed, 08 Jan 2014 17:45:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=wGV/xTwmGm3RgKpInxOzS4hv/dddI5c1+UqZmmPwZ8A=; b=J5NuXnLEFnx01iBYlOeVxBDNsP+tQWKXzFgF0W9/ib9uGF1IE093cfDY7KXclci4dB FHgwOsyS21rafUukK44WQiL4qQkS1ZpnEl5knEjfrd9z6UraaICmJFSYjdk0XTLazWJA v7uPJR/NLfJqKu3D8MTZ1a1FoaHEET1qLwWcTergFlpGQh/fmoB2iqG6PgPIBJUXaxoG /keOpM0zPIGowFnkYnXwtUN86PcL/Gjkov9/4jZVITOmGYaaqs4+7haAXTECFqjrALDW oRsJuObF+3jHNcQyadbDJL8oVBORXNKlPvMUpRZ2MC9/0BhXuP7pnSbijjw4yvtIIeyI Ei1w== X-Received: by 10.50.154.102 with SMTP id vn6mr35167629igb.1.1389231909062; Wed, 08 Jan 2014 17:45:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.162.169 with HTTP; Wed, 8 Jan 2014 17:44:48 -0800 (PST) In-Reply-To: References: From: Tarun Kumar Date: Thu, 9 Jan 2014 07:14:48 +0530 Message-ID: Subject: Re: camel jms polling To: users Content-Type: multipart/alternative; boundary=047d7bd7581e73503c04ef7fc24b X-Virus-Checked: Checked by ClamAV on apache.org --047d7bd7581e73503c04ef7fc24b Content-Type: text/plain; charset=ISO-8859-1 Thanks. That works! On Thu, Jan 9, 2014 at 1:28 AM, Christian Posta wrote: > give your timer name something unique for each route: > > http://camel.apache.org/timer.html > > On Wed, Jan 8, 2014 at 9:11 AM, Tarun Kumar > wrote: > > Here problem is both routes are running sequentially. I tried with > > > > > > > defaultProfile="true" poolSize="10" maxPoolSize="20" maxQueueSize="1000" > > > > rejectedPolicy="CallerRuns" /> > > > > as well, doesn't help. > > > > > > On Wed, Jan 8, 2014 at 10:08 PM, Tarun Kumar >wrote: > > > >> Hi, > >> > >> I have two routes > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> in bean1 and bean2, i poll messages from different JMS queues. When i > >> start the server, polling consumer in bean1 waits (and blocks) for > messages > >> to be available in jms queue. > >> > >> Is there any way i can run both routes in parallel? > >> > > > > -- > Christian Posta > http://www.christianposta.com/blog > twitter: @christianposta > --047d7bd7581e73503c04ef7fc24b--