org.apache.camel.component.netty
Class NettyCamelState
java.lang.Object
org.apache.camel.component.netty.NettyCamelState
public final class NettyCamelState
- extends Object
Stores state for NettyProducer
when sending messages.
This allows the ClientChannelHandler
to access
this state, which is needed so we can get hold of the current Exchange
and the
AsyncCallback
so we can continue routing the message in the Camel routing engine.
Constructor Summary |
NettyCamelState(org.apache.camel.AsyncCallback callback,
org.apache.camel.Exchange exchange)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NettyCamelState
public NettyCamelState(org.apache.camel.AsyncCallback callback,
org.apache.camel.Exchange exchange)
getCallback
public org.apache.camel.AsyncCallback getCallback()
getExchange
public org.apache.camel.Exchange getExchange()
Apache Camel