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 F3F1E1730A for ; Thu, 2 Oct 2014 06:19:39 +0000 (UTC) Received: (qmail 14702 invoked by uid 500); 2 Oct 2014 06:19:39 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 14655 invoked by uid 500); 2 Oct 2014 06:19:39 -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 45880 invoked by uid 99); 1 Oct 2014 19:46:50 -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 sandeepreddip@gmail.com does not designate 216.139.236.26 as permitted sender) Date: Wed, 1 Oct 2014 12:46:23 -0700 (PDT) From: sandp To: users@camel.apache.org Message-ID: <1412192783414-5757292.post@n5.nabble.com> Subject: camel-quartz2 2.14.0 as a polling consumer for a JMS Queue 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, Is is possible to use quartz2 as a polling consumer to poll a JMS Queue? Or what is the best camel way to poll a queue with a CRON job? I'm looking for something that is possible with file and ftp under section* Using QuartzScheduledPollConsumerScheduler *in the link below: https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Fuse/6.1/html/Apache_Camel_Component_Reference/files/_IDU_Quartz2.html I tried it but didn't work: *Route:* from("jms:queue:ctsCamelQueue?*scheduler=quartz2*&scheduler.cron=0+0/1+*+*+*+?+*&scheduler.job.name=unqualifiedTransactionBidsJob") *Exception:* Failed to resolve endpoint: jms://queue:ctsCamelQueue?scheduler=quartz2&scheduler.cron=0+0%2F1+*+*+*+%3F+*&scheduler.job.name=unqualifiedTransactionBidsJob due to: There are 3 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{scheduler=quartz2, scheduler.cron=0 0/1 * * * ? *, scheduler.job.name=unqualifiedTransactionBidsJob}] -- View this message in context: http://camel.465427.n5.nabble.com/camel-quartz2-2-14-0-as-a-polling-consumer-for-a-JMS-Queue-tp5757292.html Sent from the Camel - Users mailing list archive at Nabble.com.