Liferay 7.0-ce-b4

com.liferay.portal.kernel.messaging
Class SerialDestination

java.lang.Object
  extended by com.liferay.portal.kernel.messaging.BaseDestination
      extended by com.liferay.portal.kernel.messaging.BaseAsyncDestination
          extended by com.liferay.portal.kernel.messaging.SerialDestination
All Implemented Interfaces:
Destination

public class SerialDestination
extends BaseAsyncDestination

Destination that delivers a message to a list of message listeners one at a time.


Field Summary
 
Fields inherited from class com.liferay.portal.kernel.messaging.BaseAsyncDestination
portalExecutorManager, serviceTracker
 
Fields inherited from class com.liferay.portal.kernel.messaging.BaseDestination
messageListeners, name
 
Constructor Summary
SerialDestination()
           
 
Method Summary
protected  void dispatch(Set<MessageListener> messageListeners, Message message)
           
 
Methods inherited from class com.liferay.portal.kernel.messaging.BaseAsyncDestination
afterPropertiesSet, close, createRejectionExecutionHandler, destroy, getDestinationStatistics, getMaximumQueueSize, getThreadPoolExecutor, getWorkersCoreSize, getWorkersMaxSize, open, populateMessageFromThreadLocals, populateThreadLocalsFromMessage, send, setMaximumQueueSize, setRejectedExecutionHandler, setWorkersCoreSize, setWorkersMaxSize
 
Methods inherited from class com.liferay.portal.kernel.messaging.BaseDestination
addDestinationEventListener, close, copyDestinationEventListeners, copyMessageListeners, fireMessageListenerRegisteredEvent, fireMessageListenerUnregisteredEvent, getMessageListenerCount, getMessageListeners, getName, isRegistered, register, register, registerMessageListener, removeDestinationEventListener, removeDestinationEventListeners, setName, unregister, unregister, unregisterMessageListener, unregisterMessageListeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerialDestination

public SerialDestination()
Method Detail

dispatch

protected void dispatch(Set<MessageListener> messageListeners,
                        Message message)
Specified by:
dispatch in class BaseAsyncDestination

Liferay 7.0-ce-b4