public class AjaxMessageDispatcher extends AbstractMessageDispatcher implements BayeuxAware
| Modifier and Type | Field and Description |
|---|---|
protected org.mortbay.cometd.AbstractBayeux |
bayeux |
protected boolean |
cacheMessages |
protected String |
channel |
protected org.cometd.Client |
client |
protected org.apache.commons.collections.Buffer |
messageCache |
protected int |
messageCacheSize |
defaultOutboundTransformers, defaultResponseTransformersconnected, connector, endpoint, lifecycleManager, logger, muleMessageFactory, retryTemplateRECEIVE_NO_WAIT, RECEIVE_WAIT_INDEFINITELYPHASE_NAMEPHASE_NAMEPHASE_NAMEPHASE_NAME| Constructor and Description |
|---|
AjaxMessageDispatcher(OutboundEndpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deliver(org.cometd.Client theClient,
String channelName,
Object data) |
protected void |
doDispatch(MuleEvent event) |
protected void |
doDispose() |
protected void |
doInitialise() |
protected MuleMessage |
doSend(MuleEvent event) |
org.mortbay.cometd.AbstractBayeux |
getBayeux() |
protected org.cometd.Client |
getClient() |
void |
setBayeux(org.mortbay.cometd.AbstractBayeux bayeux) |
applyOutboundTransformers, applyResponseTransformers, createLifecycleManager, getDispatcherName, getEndpoint, getWorkManager, process, returnResponse, returnResponseactivate, connect, connectHandler, createMuleMessage, createMuleMessage, createMuleMessage, createMuleMessageFactory, createNullMuleMessage, disconnect, dispose, disposeAndLogException, doConnect, doDisconnect, doStart, doStartHandler, doStop, getConnectEventId, getConnectionDescription, getConnector, getLifecycleState, initialise, initializeMessageFactory, initializeRetryPolicy, isConnected, isDoThreading, isStarted, isStarting, isStopped, isStopping, passivate, setEndpoint, start, stop, toString, validate, validateConnectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactivate, createMuleMessage, createMuleMessage, getConnector, passivate, validateconnect, disconnect, getConnectionDescription, isConnected, validateConnectioninitialisedisposegetLifecycleStateprotected org.mortbay.cometd.AbstractBayeux bayeux
protected boolean cacheMessages
protected int messageCacheSize
protected org.apache.commons.collections.Buffer messageCache
protected String channel
protected org.cometd.Client client
public AjaxMessageDispatcher(OutboundEndpoint endpoint) throws CreateException
CreateExceptionpublic org.mortbay.cometd.AbstractBayeux getBayeux()
getBayeux in interface BayeuxAwarepublic void setBayeux(org.mortbay.cometd.AbstractBayeux bayeux)
setBayeux in interface BayeuxAwareprotected void doInitialise()
throws InitialisationException
doInitialise in class AbstractTransportMessageHandlerInitialisationExceptionprotected org.cometd.Client getClient()
protected void doDispatch(MuleEvent event) throws Exception
doDispatch in class AbstractMessageDispatcherExceptionprotected MuleMessage doSend(MuleEvent event) throws Exception
doSend in class AbstractMessageDispatcherExceptionprotected void doDispose()
doDispose in class AbstractTransportMessageHandlerCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.