com.liferay.portal.kernel.messaging
Class BaseMessageStatusMessageListener
java.lang.Object
com.liferay.portal.kernel.messaging.BaseMessageStatusMessageListener
- All Implemented Interfaces:
- MessageListener
- Direct Known Subclasses:
- LayoutsLocalPublisherMessageListener, LayoutsRemotePublisherMessageListener
public abstract class BaseMessageStatusMessageListener
- extends Object
- implements MessageListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseMessageStatusMessageListener
public BaseMessageStatusMessageListener()
BaseMessageStatusMessageListener
public BaseMessageStatusMessageListener(SingleDestinationMessageSender statusSender,
MessageSender responseSender)
- Deprecated.
receive
public void receive(Message message)
- Specified by:
receive
in interface MessageListener
setResponseSender
public void setResponseSender(MessageSender responseSender)
setStatusSender
public void setStatusSender(SingleDestinationMessageSender statusSender)
doReceive
protected abstract void doReceive(Message message,
MessageStatus messageStatus)
throws Exception
- Throws:
Exception
getResponseSender
protected MessageSender getResponseSender()