org.openspaces.esb.mule.queue
Class OpenSpacesQueueMessageReceiver
java.lang.Object
org.mule.transport.AbstractConnectable
org.mule.transport.AbstractMessageReceiver
org.mule.transport.AbstractPollingMessageReceiver
org.mule.transport.TransactedPollingMessageReceiver
org.openspaces.esb.mule.queue.OpenSpacesQueueMessageReceiver
- All Implemented Interfaces:
- ExceptionListener, org.mule.api.lifecycle.Disposable, org.mule.api.lifecycle.Initialisable, org.mule.api.lifecycle.Startable, org.mule.api.lifecycle.Stoppable, org.mule.api.transport.Connectable, org.mule.api.transport.MessageReceiver
public class OpenSpacesQueueMessageReceiver
- extends org.mule.transport.TransactedPollingMessageReceiver
Receives (takes) a message from an internal queue. The queue is a virtualized queue represented
by the InternalQueueEntry
with its endpoint address
set (and not the message).
- Author:
- kimchy
Nested classes/interfaces inherited from class org.mule.transport.TransactedPollingMessageReceiver |
org.mule.transport.TransactedPollingMessageReceiver.MessageProcessorWorker |
Fields inherited from class org.mule.transport.AbstractPollingMessageReceiver |
DEFAULT_POLL_FREQUENCY, DEFAULT_POLL_TIMEUNIT, DEFAULT_STARTUP_DELAY, schedules |
Fields inherited from class org.mule.transport.AbstractMessageReceiver |
receiverKey, responseEndpoint, service |
Fields inherited from class org.mule.transport.AbstractConnectable |
connected, disposed, endpoint, logger, retryTemplate, started, startOnConnect |
Fields inherited from interface org.mule.api.lifecycle.Initialisable |
PHASE_NAME |
Fields inherited from interface org.mule.api.lifecycle.Disposable |
PHASE_NAME |
Fields inherited from interface org.mule.api.lifecycle.Startable |
PHASE_NAME |
Fields inherited from interface org.mule.api.lifecycle.Stoppable |
PHASE_NAME |
Constructor Summary |
OpenSpacesQueueMessageReceiver(org.mule.api.transport.Connector connector,
org.mule.api.service.Service service,
org.mule.api.endpoint.InboundEndpoint endpoint)
|
Methods inherited from class org.mule.transport.TransactedPollingMessageReceiver |
doStart, isReceiveMessagesInTransaction, isUseMultipleTransactedReceivers, poll, setReceiveMessagesInTransaction, setUseMultipleTransactedReceivers |
Methods inherited from class org.mule.transport.AbstractPollingMessageReceiver |
doStop, getFrequency, getTimeUnit, schedule, setFrequency, setTimeUnit, unschedule |
Methods inherited from class org.mule.transport.AbstractMessageReceiver |
dispose, getConnectEventId, getConnectionDescription, getEndpoint, getEndpointURI, getListener, getReceiverKey, getService, getWorkManager, handleUnacceptedFilter, initialise, routeMessage, routeMessage, routeMessage, routeMessage, routeMessage, routeMessage, setEndpoint, setExceptionDetails, setListener, setReceiverKey, setService, toString |
Methods inherited from class org.mule.transport.AbstractConnectable |
activate, connect, disconnect, disposeAndLogException, doInitialise, exceptionThrown, getConnectEventId, getConnector, handleException, isConnected, isDoThreading, isStarted, passivate, setEndpoint, start, stop, validate, validateConnection |
Methods inherited from interface org.mule.api.transport.Connectable |
connect, disconnect, isConnected, validateConnection |
Methods inherited from interface org.mule.api.lifecycle.Startable |
start |
Methods inherited from interface org.mule.api.lifecycle.Stoppable |
stop |
OpenSpacesQueueMessageReceiver
public OpenSpacesQueueMessageReceiver(org.mule.api.transport.Connector connector,
org.mule.api.service.Service service,
org.mule.api.endpoint.InboundEndpoint endpoint)
throws org.mule.api.lifecycle.CreateException
- Throws:
org.mule.api.lifecycle.CreateException
doConnect
protected void doConnect()
throws Exception
- Overrides:
doConnect
in class org.mule.transport.AbstractConnectable
- Throws:
Exception
doDispose
protected void doDispose()
- Overrides:
doDispose
in class org.mule.transport.AbstractConnectable
doDisconnect
protected void doDisconnect()
throws Exception
- Overrides:
doDisconnect
in class org.mule.transport.AbstractConnectable
- Throws:
Exception
onCall
public Object onCall(org.mule.api.MuleMessage message,
boolean synchronous)
throws org.mule.api.MuleException
- Throws:
org.mule.api.MuleException
getMessages
protected List getMessages()
throws Exception
- Specified by:
getMessages
in class org.mule.transport.TransactedPollingMessageReceiver
- Throws:
Exception
processMessage
protected void processMessage(Object msg)
throws Exception
- Specified by:
processMessage
in class org.mule.transport.TransactedPollingMessageReceiver
- Throws:
Exception
createWork
protected org.mule.transport.PollingReceiverWorker createWork()
- Overrides:
createWork
in class org.mule.transport.AbstractPollingMessageReceiver
Copyright © GigaSpaces.