Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0B02410466 for ; Wed, 10 Apr 2013 05:40:09 +0000 (UTC) Received: (qmail 24155 invoked by uid 500); 10 Apr 2013 05:40:08 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 23964 invoked by uid 500); 10 Apr 2013 05:40: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 23933 invoked by uid 99); 10 Apr 2013 05:40:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Apr 2013 05:40:06 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.210.173 as permitted sender) Received: from [209.85.210.173] (HELO mail-ia0-f173.google.com) (209.85.210.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Apr 2013 05:40:01 +0000 Received: by mail-ia0-f173.google.com with SMTP id h37so85574iak.4 for ; Tue, 09 Apr 2013 22:39:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=+PEnCzpexHL9SPvdIBopDPATFZrjMX7qAQ6q2M8Da60=; b=HaJRUx0j5DeIh3q+CzjGil/pJLRrWuAvCXpySD88w6NV2Djx8nyyT8+LEYFax8tUJ5 7+oaUla45CBYFvtJ5ef4gkjB3uvD7JFTHZTO4J9h73Zrz1cLZM2hP+pKOTzrRng+tsH+ /cY0ewoJZLzZ288Kg4eNWzzJoR1zQegP7lMZmRsitgtxEPuV+nYmGjByK/btUITn5SN3 orWsqlxudcs0P2rYPsAm9LuxiDqel/ZdYDbJCHHXMKJWaCLjcTFF2m1dWrc0YR7WWrbh XdwvyLxnD6v0Y1sryja6lBS02MpySrAgi3/OSGoQUxUtaoNlRcnUtmcKChyPvDNWj5aE oeVw== X-Received: by 10.42.204.79 with SMTP id fl15mr366950icb.57.1365572380430; Tue, 09 Apr 2013 22:39:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.53.232 with HTTP; Tue, 9 Apr 2013 22:39:20 -0700 (PDT) In-Reply-To: <1365560001292-5730615.post@n5.nabble.com> References: <1365560001292-5730615.post@n5.nabble.com> From: Claus Ibsen Date: Wed, 10 Apr 2013 07:39:20 +0200 Message-ID: Subject: Re: camel-quartz 2.10.4 against quartz 2.1.7 bug? To: dev Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org You need to use Quartz 1.x. Quartz 2.x is not compatible with 1.x and not supported with camel-quartz. On Wed, Apr 10, 2013 at 4:13 AM, moxford wrote: > > Exception in thread "main" java.lang.NoSuchMethodError: > org.quartz.Scheduler.getTrigger(Ljava/lang/String;Ljava/lang/String;)Lorg/quartz/Trigger; > at > org.apache.camel.component.quartz.QuartzComponent.createEndpoint(QuartzComponent.java:134) > at > org.apache.camel.component.quartz.QuartzComponent.createEndpoint(QuartzComponent.java:54) > > Looks like the "getTrigger()" call now takes a TriggerKey instead of a pair > of string params. > I just checked the tip out of SVN and did not see a fix. > > Offending line from Camel QuartzComponent.class: > trigger = getScheduler().getTrigger(*name, group*); > > Scheduler.class from Quartz 2.1.7 > /** > * Get the {@link Trigger} instance with the given key. > * > *

The returned Trigger object will be a snap-shot of the actual > stored > * trigger. If you wish to modify the trigger, you must re-store the > * trigger afterward (e.g. see {@link #rescheduleJob(TriggerKey, > Trigger)}). > *

> */ > Trigger getTrigger(*TriggerKey triggerKey*) > throws SchedulerException; > > Is anyone working on this? > > Thanks! > > -mox > > > > > -- > View this message in context: http://camel.465427.n5.nabble.com/camel-quartz-2-10-4-against-quartz-2-1-7-bug-tp5730615.html > Sent from the Camel Development mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cibsen@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen