Package org.apache.camel.component.netty
Class NettyPayloadHelper
java.lang.Object
org.apache.camel.component.netty.NettyPayloadHelper
Helper to get and set the correct payload when transferring data using camel-netty. 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.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
getIn
(NettyEndpoint endpoint, org.apache.camel.Exchange exchange) static Object
getOut
(NettyEndpoint endpoint, org.apache.camel.Exchange exchange) static void
static void
-
Method Details
-
getIn
-
getOut
-
setIn
-
setOut
-