camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject camel git commit: Add javadoc that this API is not for Camel end users
Date Mon, 04 Sep 2017 07:04:56 GMT
Repository: camel
Updated Branches:
  refs/heads/master aefa11f8b -> 917ad4bcf


Add javadoc that this API is not for Camel end users


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

Branch: refs/heads/master
Commit: 917ad4bcfe86e69770e91d87f33ec9a0a6ed82b0
Parents: aefa11f
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Mon Sep 4 09:04:44 2017 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Mon Sep 4 09:04:44 2017 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/camel/spi/InterceptStrategy.java    | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/917ad4bc/camel-core/src/main/java/org/apache/camel/spi/InterceptStrategy.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/spi/InterceptStrategy.java b/camel-core/src/main/java/org/apache/camel/spi/InterceptStrategy.java
index a9bf31e..b38f77c 100644
--- a/camel-core/src/main/java/org/apache/camel/spi/InterceptStrategy.java
+++ b/camel-core/src/main/java/org/apache/camel/spi/InterceptStrategy.java
@@ -25,6 +25,8 @@ import org.apache.camel.model.ProcessorDefinition;
  * processors in a route with interceptors.  For example, a possible
  * usecase is to gather performance statistics at the processor's level.
  * <p/>
+ * <b>Important: </b> This SPI is not intended to be used by Camel end users.
+ * <p/>
  * Its <b>strongly</b> adviced to use an {@link org.apache.camel.AsyncProcessor}
as the returned wrapped
  * {@link Processor} which ensures the interceptor works well with the asynchronous routing
engine.
  * You can use the {@link org.apache.camel.processor.DelegateAsyncProcessor} to easily return
an
@@ -36,6 +38,8 @@ import org.apache.camel.model.ProcessorDefinition;
  */
 public interface InterceptStrategy {
 
+    // TODO: Camel 3.0 make this an internal API
+
     /**
      * This method is invoked by
      * {@link ProcessorDefinition#wrapProcessor(RouteContext, Processor)}


Mime
View raw message