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, defaultResponseTransformers
connected, connector, defaultMessageInfoMapping, endpoint, lifecycleManager, logger, muleMessageFactory, retryTemplate
RECEIVE_NO_WAIT, RECEIVE_WAIT_INDEFINITELY
PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_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, doSendNonBlocking, getDispatcherName, getEndpoint, getWorkManager, isSupportsNonBlocking, process, returnResponse, returnResponse
activate, 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, validateConnection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
activate, createMuleMessage, createMuleMessage, getConnector, passivate, validate
connect, disconnect, getConnectionDescription, isConnected, validateConnection
initialise
dispose
getLifecycleState
protected 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
CreateException
public org.mortbay.cometd.AbstractBayeux getBayeux()
getBayeux
in interface BayeuxAware
public void setBayeux(org.mortbay.cometd.AbstractBayeux bayeux)
setBayeux
in interface BayeuxAware
protected void doInitialise() throws InitialisationException
doInitialise
in class AbstractTransportMessageHandler
InitialisationException
protected org.cometd.Client getClient()
protected void doDispatch(MuleEvent event) throws Exception
doDispatch
in class AbstractMessageDispatcher
Exception
protected MuleMessage doSend(MuleEvent event) throws Exception
doSend
in class AbstractMessageDispatcher
Exception
protected void doDispose()
doDispose
in class AbstractTransportMessageHandler
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.