You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/12/17 08:43:21 UTC

[camel] 01/02: CAMEL-15956: camel-core - Deprecate init switch as its not in use.

This is an automated email from the ASF dual-hosted git repository.

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

commit 2e0456efae661274a2fd545ad3eb0ce1616f743f
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Dec 17 09:41:20 2020 +0100

    CAMEL-15956: camel-core - Deprecate init switch as its not in use.
---
 .../main/java/org/apache/camel/impl/engine/AbstractCamelContext.java   | 3 +++
 1 file changed, 3 insertions(+)

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 b5d7364..8dd7d39 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
@@ -443,10 +443,12 @@ public abstract class AbstractCamelContext extends BaseService
         return vetoed != null;
     }
 
+    @Deprecated
     public Initialization getInitialization() {
         return initialization;
     }
 
+    @Deprecated
     public void setInitialization(Initialization initialization) {
         this.initialization = initialization;
     }
@@ -4462,6 +4464,7 @@ public abstract class AbstractCamelContext extends BaseService
         return getUriFactoryResolver().resolveFactory(scheme, this);
     }
 
+    @Deprecated
     public enum Initialization {
         Eager,
         Default,