public final class Mina2Helper extends Object
public static void writeBody(org.apache.mina.core.session.IoSession session,
Object body,
Exchange exchange)
throws CamelExchangeException
session - the MINA sessionbody - the body to write (send)exchange - the exchangeCamelExchangeException - is thrown if the body could not be written for some reasons
(eg remote connection is closed etc.)Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.