camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [camel] 12/20: CAMEL-13792 - Rename components to default names, Camel-quartz2 to camel-quartz - Fixed references in Javadoc
Date Tue, 06 Aug 2019 09:50:00 GMT
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 838edc697df087c8ee307a4f041c017c93458686
Author: Andrea Cosentino <ancosen@gmail.com>
AuthorDate: Tue Aug 6 10:56:00 2019 +0200

    CAMEL-13792 - Rename components to default names, Camel-quartz2 to camel-quartz - Fixed
references in Javadoc
---
 .../main/java/org/apache/camel/spi/ScheduledPollConsumerScheduler.java  | 2 +-
 .../src/main/java/org/apache/camel/support/ScheduledPollEndpoint.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/camel-api/src/main/java/org/apache/camel/spi/ScheduledPollConsumerScheduler.java
b/core/camel-api/src/main/java/org/apache/camel/spi/ScheduledPollConsumerScheduler.java
index 46e40ad..068fbd9 100644
--- a/core/camel-api/src/main/java/org/apache/camel/spi/ScheduledPollConsumerScheduler.java
+++ b/core/camel-api/src/main/java/org/apache/camel/spi/ScheduledPollConsumerScheduler.java
@@ -26,7 +26,7 @@ import org.apache.camel.ShutdownableService;
  * The default implementation {@link org.apache.camel.support.DefaultScheduledPollConsumerScheduler}
is
  * using the {@link java.util.concurrent.ScheduledExecutorService} from the JDK to schedule
and run the poll task.
  * <p/>
- * An alternative implementation is in <tt>camel-quartz2</tt> component that
allows to use CRON expression
+ * An alternative implementation is in <tt>camel-quartz</tt> component that allows
to use CRON expression
  * to define when the scheduler should run.
  */
 public interface ScheduledPollConsumerScheduler extends ShutdownableService, CamelContextAware
{
diff --git a/core/camel-support/src/main/java/org/apache/camel/support/ScheduledPollEndpoint.java
b/core/camel-support/src/main/java/org/apache/camel/support/ScheduledPollEndpoint.java
index 0e68f92..c3e0c0c 100644
--- a/core/camel-support/src/main/java/org/apache/camel/support/ScheduledPollEndpoint.java
+++ b/core/camel-support/src/main/java/org/apache/camel/support/ScheduledPollEndpoint.java
@@ -129,7 +129,7 @@ public abstract class ScheduledPollEndpoint extends DefaultEndpoint {
                     Class<? extends ScheduledPollConsumerScheduler> clazz = getCamelContext().getClassResolver().resolveMandatoryClass(QUARTZ_2_SCHEDULER,
ScheduledPollConsumerScheduler.class);
                     setScheduler(getCamelContext().getInjector().newInstance(clazz));
                 } catch (ClassNotFoundException e) {
-                    throw new IllegalArgumentException("Cannot load " + QUARTZ_2_SCHEDULER
+ " from classpath. Make sure camel-quartz2.jar is on the classpath.", e);
+                    throw new IllegalArgumentException("Cannot load " + QUARTZ_2_SCHEDULER
+ " from classpath. Make sure camel-quartz.jar is on the classpath.", e);
                 }
             } else {
                 // must refer to a custom scheduler by the given name


Mime
View raw message