public final class MinaHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
writeBody(org.apache.mina.common.IoSession session,
Object body,
org.apache.camel.Exchange exchange)
Asynchronously writes the given body to MINA session.
|
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