public final class MinaHelper extends Object
public static void writeBody(org.apache.mina.common.IoSession session,
Object body,
org.apache.camel.Exchange exchange)
throws org.apache.camel.CamelExchangeException
session - the MINA sessionbody - the body to write (send)exchange - the exchangeorg.apache.camel.CamelExchangeException - is thrown if the body could not be written for some reasons
(eg remote connection is closed etc.)Apache Camel