This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch model-apps in repository https://gitbox.apache.org/repos/asf/camel.git
commit d13fc8b06455570c106800495e61f80e9a86eb26 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Sat Oct 21 11:39:10 2023 +0200 CAMEL-20024: camel-core-model - Add description for new bean DSL --- .../apache/camel/impl/engine/AbstractCamelContext.java | 16 ++++++++++++++++ .../org/apache/camel/main/MainDurationEventNotifier.java | 2 -- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java index b97ef65e16f..82f74f464ee 100644 --- a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java +++ b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java @@ -1550,6 +1550,7 @@ public abstract class AbstractCamelContext extends BaseService /** * Deprecated API. + * * @deprecated Use methods from the {@link ExtendedCamelContext} */ @Deprecated(since = "4.2.0", forRemoval = true) @@ -1600,6 +1601,7 @@ public abstract class AbstractCamelContext extends BaseService /** * Deprecated API. + * * @deprecated Use methods from the {@link ExtendedCamelContext} */ @Deprecated(since = "4.2.0", forRemoval = true) @@ -3696,6 +3698,7 @@ public abstract class AbstractCamelContext extends BaseService /** * Deprecated API. + * * @deprecated Use methods from the {@link ExtendedCamelContext} */ @Deprecated(since = "4.2.0", forRemoval = true) @@ -3705,6 +3708,7 @@ public abstract class AbstractCamelContext extends BaseService /** * Deprecated API. + * * @deprecated Use methods from the {@link ExtendedCamelContext} */ @Deprecated(since = "4.2.0", forRemoval = true) @@ -3742,6 +3746,7 @@ public abstract class AbstractCamelContext extends BaseService /** * Deprecated API. + * * @deprecated Use methods from the {@link ExtendedCamelContext} */ @Deprecated(since = "4.2.0", forRemoval = true) @@ -3761,6 +3766,7 @@ public abstract class AbstractCamelContext extends BaseService /** * Deprecated API. + * * @deprecated Use methods from the {@link ExtendedCamelContext} */ @Deprecated(since = "4.2.0", forRemoval = true) @@ -3964,6 +3970,7 @@ public abstract class AbstractCamelContext extends BaseService /** * Deprecated API. + * * @deprecated Use methods from the {@link ExtendedCamelContext} */ @Deprecated(since = "4.2.0", forRemoval = true) @@ -3978,6 +3985,7 @@ public abstract class AbstractCamelContext extends BaseService /** * Deprecated API. + * * @deprecated Use methods from the {@link ExtendedCamelContext} */ @Deprecated(since = "4.2.0", forRemoval = true) @@ -3992,6 +4000,7 @@ public abstract class AbstractCamelContext extends BaseService /** * Deprecated API. + * * @deprecated Use methods from the {@link ExtendedCamelContext} */ @Deprecated(since = "4.2.0", forRemoval = true) @@ -4001,6 +4010,7 @@ public abstract class AbstractCamelContext extends BaseService /** * Deprecated API. + * * @deprecated Use methods from the {@link ExtendedCamelContext} */ @Deprecated(since = "4.2.0", forRemoval = true) @@ -4010,6 +4020,7 @@ public abstract class AbstractCamelContext extends BaseService /** * Deprecated API. + * * @deprecated Use methods from the {@link ExtendedCamelContext} */ @Deprecated(since = "4.2.0", forRemoval = true) @@ -4019,6 +4030,7 @@ public abstract class AbstractCamelContext extends BaseService /** * Deprecated API. + * * @deprecated Use methods from the {@link ExtendedCamelContext} */ @Deprecated(since = "4.2.0", forRemoval = true) @@ -4028,6 +4040,7 @@ public abstract class AbstractCamelContext extends BaseService /** * Deprecated API. + * * @deprecated Use methods from the {@link ExtendedCamelContext} */ @Deprecated(since = "4.2.0", forRemoval = true) @@ -4049,6 +4062,7 @@ public abstract class AbstractCamelContext extends BaseService /** * Deprecated API. + * * @deprecated Use methods from the {@link ExtendedCamelContext} */ @Deprecated(since = "4.2.0", forRemoval = true) @@ -4058,6 +4072,7 @@ public abstract class AbstractCamelContext extends BaseService /** * Deprecated API. + * * @deprecated Use methods from the {@link ExtendedCamelContext} */ @Deprecated(since = "4.2.0", forRemoval = true) @@ -4067,6 +4082,7 @@ public abstract class AbstractCamelContext extends BaseService /** * Deprecated API. + * * @deprecated Use methods from the {@link ExtendedCamelContext} */ @Deprecated(since = "4.2.0", forRemoval = true) diff --git a/core/camel-main/src/main/java/org/apache/camel/main/MainDurationEventNotifier.java b/core/camel-main/src/main/java/org/apache/camel/main/MainDurationEventNotifier.java index 1da8330822c..454f4011642 100644 --- a/core/camel-main/src/main/java/org/apache/camel/main/MainDurationEventNotifier.java +++ b/core/camel-main/src/main/java/org/apache/camel/main/MainDurationEventNotifier.java @@ -53,7 +53,6 @@ public class MainDurationEventNotifier extends EventNotifierSupport { } } - private final CamelContext camelContext; private final int maxMessages; private final long maxIdleSeconds; @@ -65,7 +64,6 @@ public class MainDurationEventNotifier extends EventNotifierSupport { private volatile StopWatch watch; private volatile ScheduledExecutorService idleExecutorService; - public MainDurationEventNotifier(CamelContext camelContext, int maxMessages, long maxIdleSeconds, MainShutdownStrategy shutdownStrategy, boolean stopCamelContext, boolean restartDuration, String action) {