public final class NettyCamelState
extends java.lang.Object
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 and Description |
|---|
NettyCamelState(AsyncCallback callback,
Exchange exchange) |
| Modifier and Type | Method and Description |
|---|---|
AsyncCallback |
getCallback() |
Exchange |
getExchange() |
public NettyCamelState(AsyncCallback callback, Exchange exchange)
public AsyncCallback getCallback()
public Exchange getExchange()
Copyright © 2007-2014 Red Hat, Inc.. All Rights Reserved.