Updated Branches: refs/heads/master 95fcfad56 -> 52d5d5cdd
Polished. Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/52d5d5cd Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/52d5d5cd Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/52d5d5cd Branch: refs/heads/master Commit: 52d5d5cddc9da8c57660768410be5ad9cccef7f0 Parents: 95fcfad Author: Babak Vahdat <bvah...@apache.org> Authored: Thu Nov 14 22:02:43 2013 +0100 Committer: Babak Vahdat <bvah...@apache.org> Committed: Thu Nov 14 22:02:43 2013 +0100 ---------------------------------------------------------------------- .../main/java/org/apache/camel/component/mina2/Mina2Helper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/52d5d5cd/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Helper.java ---------------------------------------------------------------------- diff --git a/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Helper.java b/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Helper.java index 56ca48f..cc25da1 100644 --- a/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Helper.java +++ b/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Helper.java @@ -44,7 +44,7 @@ public final class Mina2Helper { * @throws CamelExchangeException is thrown if the body could not be written for some reasons * (eg remote connection is closed etc.) */ - public static void writeBody(IoSession session, Object body, Exchange exchange) throws CamelExchangeException, InterruptedException { + public static void writeBody(IoSession session, Object body, Exchange exchange) throws CamelExchangeException { // the write operation is asynchronous. Use WriteFuture to wait until the session has been written WriteFuture future = session.write(body); // must use a timeout (we use 10s) as in some very high performance scenarios a write can cause