Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 55271 invoked from network); 15 Oct 2010 13:29:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Oct 2010 13:29:10 -0000 Received: (qmail 23209 invoked by uid 500); 15 Oct 2010 13:29:10 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 23161 invoked by uid 500); 15 Oct 2010 13:29:07 -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 23150 invoked by uid 99); 15 Oct 2010 13:29:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Oct 2010 13:29:06 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bengt.rodehav@gmail.com designates 74.125.83.45 as permitted sender) Received: from [74.125.83.45] (HELO mail-gw0-f45.google.com) (74.125.83.45) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Oct 2010 13:28:58 +0000 Received: by gwj16 with SMTP id 16so307802gwj.32 for ; Fri, 15 Oct 2010 06:28:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=NaSuqYmQzddZGHTbHzvuJC+LjkzK9/EfHvQ9ckRcspQ=; b=erBu4fuof8mVROJD/8XAXcRjur/XaTHE64GJRehOAgmnFwYSAqVZfMrTSJNLFWPzpa vRFSbTHx/hN3ha8XLNDZl87gOeYPjtm4L0iDJXbKDCuMYLiM9B4txsve3KzN54evxtEt EPbNsWMGnrWlRcFlw2lHI7jLH9iEK9P2sLOqw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=CnxcFyJZOO9LQYN5a2ZR6VOrqzbFuuxVxTd1gAyt5dOs5El+NtZn8UgvWdLNk8gYL4 AtSJ0KgB7QQ+HboTeQiIGc8/Aff2fzWhJ8e8DMBepsrC2WhI2PuwgoZ7bTqzqZCLvcsG m7d3XJ2+whyRwniVLlsECK/j2zaA+G/6DvaIE= MIME-Version: 1.0 Received: by 10.151.157.9 with SMTP id j9mr1629377ybo.430.1287149317401; Fri, 15 Oct 2010 06:28:37 -0700 (PDT) Sender: bengt.rodehav@gmail.com Received: by 10.150.203.21 with HTTP; Fri, 15 Oct 2010 06:28:37 -0700 (PDT) Date: Fri, 15 Oct 2010 15:28:37 +0200 X-Google-Sender-Auth: v2uGyX7qf1mfNGufoQy71PWll1o Message-ID: Subject: camel-quartz and unique timername From: Bengt Rodehav To: users@camel.apache.org Content-Type: multipart/alternative; boundary=001517510fdcd62ad20492a7cd4d X-Virus-Checked: Checked by ClamAV on apache.org --001517510fdcd62ad20492a7cd4d Content-Type: text/plain; charset=ISO-8859-1 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. /Bengt --001517510fdcd62ad20492a7cd4d--