Repository: camel
Updated Branches:
  refs/heads/master af0668a03 -> 4ab39fc3b


CAMEL-10883: read payloads with a single delay


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

Branch: refs/heads/master
Commit: c2ffb1085508fbd8a29932841ee7abdfffc05d4c
Parents: 52803ab
Author: rohan <rohan.h...@fronde.com>
Authored: Tue Feb 21 11:35:21 2017 +1300
Committer: Andrea Cosentino <anco...@gmail.com>
Committed: Thu Feb 23 10:00:23 2017 +0100

----------------------------------------------------------------------
 .../apache/camel/component/undertow/DefaultUndertowHttpBinding.java | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/c2ffb108/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/DefaultUndertowHttpBinding.java
----------------------------------------------------------------------
diff --git 
a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/DefaultUndertowHttpBinding.java
 
b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/DefaultUndertowHttpBinding.java
index 8c379d2..adbe2dd 100644
--- 
a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/DefaultUndertowHttpBinding.java
+++ 
b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/DefaultUndertowHttpBinding.java
@@ -408,7 +408,6 @@ public class DefaultUndertowHttpBinding implements 
UndertowHttpBinding {
                     }
                 });
                 source.resumeReads();
-                return out.toByteArray();
             } else {
                 buffer.flip();
                 out.write(buffer.array(), buffer.arrayOffset() + 
buffer.position(), buffer.arrayOffset() + buffer.limit());

Reply via email to