Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 95312 invoked from network); 1 Jan 2011 18:20:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Jan 2011 18:20:50 -0000 Received: (qmail 88697 invoked by uid 500); 31 Dec 2010 10:14:08 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 88560 invoked by uid 500); 31 Dec 2010 10:14:08 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 88551 invoked by uid 500); 31 Dec 2010 10:14:07 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 88548 invoked by uid 99); 31 Dec 2010 10:14:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Dec 2010 10:14:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Dec 2010 10:14:07 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBVADkt8014339 for ; Fri, 31 Dec 2010 10:13:46 GMT Message-ID: <11308728.80361293790426736.JavaMail.jira@thor> Date: Fri, 31 Dec 2010 05:13:46 -0500 (EST) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-3239) camel-quartz should require unique timername MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-3239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976213#action_12976213 ] Claus Ibsen commented on CAMEL-3239: ------------------------------------ A member of the Camel community is working on a patch for this. > camel-quartz should require unique timername > -------------------------------------------- > > Key: CAMEL-3239 > URL: https://issues.apache.org/jira/browse/CAMEL-3239 > Project: Camel > Issue Type: Improvement > Components: camel-quartz > Affects Versions: 2.4.0 > Reporter: Bengt Rodehav > Priority: Minor > Fix For: 2.6.0 > > > I'm using camel-quartz (Camel 2.4) and have some problems with the timer name (part of the URI). > It seems that if I have two different routes (using camel-quartz) with the same timername, only one of the quartz endpoints will be activated, e g: > from("quartz://mytimername"?cron=0+*+*+*+*+?+*").to(endpoint1) > from("quartz://mytimername"?cron=30+*+*+*+*+?+*").to(endpoint2) > If I make sure that the timernames are unique, both quartz endpoints will work. Thus I conclude that the timername must be unique (maybe this is a quartz thing and not a camel-quartz thing). > However, I get no indication that something is wrong since the camel route is started and looks fine although the quartz endpoint will never trigger. This is not a good situation. In my case I use this for monitoring purposes. I thought that the monitoring worked fine but it was actually never triggered at all. > I'm not sure if this due to camel-quartz or quartz itself. However, if it is possible for camel-quartz to determine that the endpoint was created OK (not OK if duplicate timer names), then this should case the camel context to fail. > I run this in an OSGi environment (Karaf 1.6.0). Thus routes like the above can be created independent of each other which makes it hard to guarantee that the timername is unique. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.