org.apache.camel.component.mina2
Class Mina2PayloadHelper
java.lang.Object
org.apache.camel.component.mina2.Mina2PayloadHelper
public final class Mina2PayloadHelper
- extends Object
Helper to get and set the correct payload when transferring data using camel-mina2.
Always use this helper instead of direct access on the exchange object.
This helper ensures that we can also transfer exchange objects over the wire using the
transferExchange=true option.
- Version:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getIn
public static Object getIn(Mina2Endpoint endpoint,
org.apache.camel.Exchange exchange)
getOut
public static Object getOut(Mina2Endpoint endpoint,
org.apache.camel.Exchange exchange)
setIn
public static void setIn(org.apache.camel.Exchange exchange,
Object payload)
setOut
public static void setOut(org.apache.camel.Exchange exchange,
Object payload)
Apache Camel