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 <code>{@link Trigger}</code> instance with the given key.
     * 
     * <p>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)}).
     * </p>
     */
    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.

Reply via email to