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 2019/10/30 12:06:08 UTC

[camel] branch master updated: CAMEL-13844: Deprecate get rest configuration api for non default as we want to only have 1 in the future.

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


The following commit(s) were added to refs/heads/master by this push:
     new 6014e85  CAMEL-13844: Deprecate get rest configuration api for non default as we want to only have 1 in the future.
6014e85 is described below

commit 6014e85b7ce6cd5e0276a16d5c02bb2d9c11979e
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Oct 30 13:05:46 2019 +0100

    CAMEL-13844: Deprecate get rest configuration api for non default as we want to only have 1 in the future.
---
 core/camel-api/src/main/java/org/apache/camel/CamelContext.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/core/camel-api/src/main/java/org/apache/camel/CamelContext.java b/core/camel-api/src/main/java/org/apache/camel/CamelContext.java
index f86b7a0..1eb0633 100644
--- a/core/camel-api/src/main/java/org/apache/camel/CamelContext.java
+++ b/core/camel-api/src/main/java/org/apache/camel/CamelContext.java
@@ -630,6 +630,7 @@ public interface CamelContext extends StatefulService, RuntimeConfiguration {
      *
      * @param restConfiguration the REST configuration
      */
+    @Deprecated
     void addRestConfiguration(RestConfiguration restConfiguration);
 
     /**
@@ -645,6 +646,7 @@ public interface CamelContext extends StatefulService, RuntimeConfiguration {
     /**
      * Gets all the RestConfiguration's
      */
+    @Deprecated
     Collection<RestConfiguration> getRestConfigurations();
 
     /**