Updated Branches: refs/heads/camel-2.12.x a256e411f -> a607cb6fc
Polished. Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/a607cb6f Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/a607cb6f Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/a607cb6f Branch: refs/heads/camel-2.12.x Commit: a607cb6fceb7bc4e035761d60d58332d5c913dc5 Parents: a256e41 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:04:39 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/a607cb6f/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