camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/2] camel git commit: Polished
Date Thu, 06 Apr 2017 08:26:42 GMT
Polished


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

Branch: refs/heads/master
Commit: 4a0fd930dd982ef75b24ac7360146f69b418e96e
Parents: 8ac41b7
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Thu Apr 6 10:26:33 2017 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Thu Apr 6 10:26:33 2017 +0200

----------------------------------------------------------------------
 .../component/rest/RestProducerBindingProcessor.java     |  2 ++
 .../org/apache/camel/processor/RestBindingAdvice.java    | 11 ++++-------
 2 files changed, 6 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/4a0fd930/camel-core/src/main/java/org/apache/camel/component/rest/RestProducerBindingProcessor.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/component/rest/RestProducerBindingProcessor.java
b/camel-core/src/main/java/org/apache/camel/component/rest/RestProducerBindingProcessor.java
index db838a1..d6d0d14 100644
--- a/camel-core/src/main/java/org/apache/camel/component/rest/RestProducerBindingProcessor.java
+++ b/camel-core/src/main/java/org/apache/camel/component/rest/RestProducerBindingProcessor.java
@@ -39,6 +39,8 @@ import org.apache.camel.util.ServiceHelper;
  * <p/>
  * The binding uses {@link org.apache.camel.spi.DataFormat} for the actual work to transform
  * from xml/json to Java Objects and reverse again.
+ * <p/>
+ * The rest-dsl consumer side is implemented in {@link org.apache.camel.processor.RestBindingAdvice}
  */
 public class RestProducerBindingProcessor extends DelegateAsyncProcessor {
 

http://git-wip-us.apache.org/repos/asf/camel/blob/4a0fd930/camel-core/src/main/java/org/apache/camel/processor/RestBindingAdvice.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/processor/RestBindingAdvice.java b/camel-core/src/main/java/org/apache/camel/processor/RestBindingAdvice.java
index 84c63bc..ee41ee4 100644
--- a/camel-core/src/main/java/org/apache/camel/processor/RestBindingAdvice.java
+++ b/camel-core/src/main/java/org/apache/camel/processor/RestBindingAdvice.java
@@ -26,18 +26,13 @@ import org.apache.camel.CamelContextAware;
 import org.apache.camel.Exchange;
 import org.apache.camel.Message;
 import org.apache.camel.processor.binding.BindingException;
-import org.apache.camel.spi.Contract;
 import org.apache.camel.spi.DataFormat;
 import org.apache.camel.spi.DataType;
 import org.apache.camel.spi.DataTypeAware;
 import org.apache.camel.spi.RestConfiguration;
-import org.apache.camel.spi.Transformer;
 import org.apache.camel.util.ExchangeHelper;
 import org.apache.camel.util.MessageHelper;
 import org.apache.camel.util.ObjectHelper;
-import org.apache.camel.util.ServiceHelper;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 /**
  * A {@link org.apache.camel.processor.CamelInternalProcessorAdvice} that binds the REST
DSL incoming
@@ -45,8 +40,10 @@ import org.slf4j.LoggerFactory;
  * <p/>
  * The binding uses {@link org.apache.camel.spi.DataFormat} for the actual work to transform
  * from xml/json to Java Objects and reverse again.
- * 
- * @see CamelInternalProcessor, CamelInternalProcessorAdvice
+ * <p/>
+ * The rest producer side is implemented in {@link org.apache.camel.component.rest.RestProducerBindingProcessor}
+ *
+ * @see CamelInternalProcessor
  */
 public class RestBindingAdvice implements CamelInternalProcessorAdvice<Map<String,
Object>> {
     private static final String STATE_KEY_DO_MARSHAL = "doMarshal";


Mime
View raw message