org.mule.transport.polling
Class MessageProcessorPollingMessageReceiver
java.lang.Object
org.mule.transport.AbstractTransportMessageHandler
org.mule.transport.AbstractMessageReceiver
org.mule.transport.AbstractPollingMessageReceiver
org.mule.transport.polling.MessageProcessorPollingMessageReceiver
- All Implemented Interfaces:
- Disposable, Initialisable, Lifecycle, LifecycleStateEnabled, Startable, Stoppable, MessageSource, Connectable, MessageReceiver
public class MessageProcessorPollingMessageReceiver
- extends AbstractPollingMessageReceiver
Methods inherited from class org.mule.transport.AbstractPollingMessageReceiver |
createWork, disableNativeScheduling, doStart, doStop, getBatchSize, getFrequency, getTimeUnit, performPoll, schedule, setFrequency, setTimeUnit, unschedule |
Methods inherited from class org.mule.transport.AbstractMessageReceiver |
applyInboundTransformers, applyResponseTransformers, createExecutionTemplate, createLifecycleManager, createMuleEvent, doDispose, getConnectEventId, getConnectionDescription, getEndpoint, getEndpointURI, getFlowConstruct, getReceiverKey, getReplyToHandler, getWorkManager, handleUnacceptedFilter, initialise, propagateRootMessageIdProperty, routeMessage, routeMessage, routeMessage, routeMessage, routeMessage, setEndpoint, setListener, setReceiverKey, toString, warnIfMuleClientSendUsed |
Methods inherited from class org.mule.transport.AbstractTransportMessageHandler |
activate, connect, createMuleMessage, createMuleMessage, createMuleMessage, createMuleMessageFactory, createNullMuleMessage, disconnect, dispose, disposeAndLogException, doConnect, doDisconnect, getConnectEventId, getConnector, getLifecycleState, initializeMessageFactory, initializeRetryPolicy, isConnected, isDoThreading, isStarted, isStarting, isStopping, passivate, setEndpoint, start, stop, validate, validateConnection |
Methods inherited from interface org.mule.api.lifecycle.Startable |
start |
Methods inherited from interface org.mule.api.lifecycle.Stoppable |
stop |
SOURCE_MESSAGE_PROCESSOR_PROPERTY_NAME
public static final String SOURCE_MESSAGE_PROCESSOR_PROPERTY_NAME
- See Also:
- Constant Field Values
sourceMessageProcessor
protected MessageProcessor sourceMessageProcessor
MessageProcessorPollingMessageReceiver
public MessageProcessorPollingMessageReceiver(Connector connector,
FlowConstruct flowConstruct,
InboundEndpoint endpoint)
throws CreateException
- Throws:
CreateException
doInitialise
protected void doInitialise()
throws InitialisationException
- Overrides:
doInitialise
in class AbstractTransportMessageHandler
- Throws:
InitialisationException
poll
public void poll()
throws Exception
- Specified by:
poll
in class AbstractPollingMessageReceiver
- Throws:
Exception
pollOnPrimaryInstanceOnly
protected boolean pollOnPrimaryInstanceOnly()
- Description copied from class:
AbstractPollingMessageReceiver
- If this returns true for a transport, polling for that transport takes place only on the primary instance.
- Overrides:
pollOnPrimaryInstanceOnly
in class AbstractPollingMessageReceiver
isNewMessage
protected boolean isNewMessage(MuleEvent sourceEvent)
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.