camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/4] camel git commit: CAMEL-8044: Camel commands should be more reusable for remote JVMs
Date Thu, 11 Dec 2014 09:15:17 GMT
Repository: camel
Updated Branches:
  refs/heads/master e4009f494 -> a9eb71695


CAMEL-8044: Camel commands should be more reusable for remote JVMs


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/51caf20f
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/51caf20f
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/51caf20f

Branch: refs/heads/master
Commit: 51caf20f5db0b17f76ba6d2dc8d73f6fe2162ede
Parents: e4009f4
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Thu Dec 11 06:58:01 2014 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Thu Dec 11 06:58:01 2014 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/camel/commands/CamelController.java | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/51caf20f/platforms/commands/commands-core/src/main/java/org/apache/camel/commands/CamelController.java
----------------------------------------------------------------------
diff --git a/platforms/commands/commands-core/src/main/java/org/apache/camel/commands/CamelController.java
b/platforms/commands/commands-core/src/main/java/org/apache/camel/commands/CamelController.java
index 378cdb1..b30fee7 100644
--- a/platforms/commands/commands-core/src/main/java/org/apache/camel/commands/CamelController.java
+++ b/platforms/commands/commands-core/src/main/java/org/apache/camel/commands/CamelController.java
@@ -21,19 +21,24 @@ import java.util.Map;
 import java.util.Set;
 
 import org.apache.camel.CamelContext;
-import org.apache.camel.Route;
 
 /**
  * CamelController interface defines the expected behaviors to manipulate Camel resources
(context, route, etc).
  */
 public interface CamelController {
 
+    // TODO: migrate camel context commands
+    // TODO: fix classloading in karaf for explain-endpoint
+    // TODO: AbstractCamelController should have a LocalAbstractCamelController
+    // .. and then the AbstractCamelController is pure base, that can be used for remotes
+
     /**
      * Get the list of Camel context.
      *
      * @return the list of Camel contexts.
      * @throws java.lang.Exception can be thrown
      */
+    @Deprecated
     List<CamelContext> getCamelContexts() throws Exception;
 
     /**
@@ -43,6 +48,7 @@ public interface CamelController {
      * @return the Camel context or null if not found.
      * @throws java.lang.Exception can be thrown
      */
+    @Deprecated
     CamelContext getCamelContext(String name) throws Exception;
 
     /**


Mime
View raw message