Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.messaging.sender
Class DefaultSingleDestinationMessageSender

java.lang.Object
  extended by com.liferay.portal.kernel.messaging.sender.DefaultSingleDestinationMessageSender
All Implemented Interfaces:
SingleDestinationMessageSender

public class DefaultSingleDestinationMessageSender
extends Object
implements SingleDestinationMessageSender


Constructor Summary
DefaultSingleDestinationMessageSender()
           
DefaultSingleDestinationMessageSender(String destinationName, MessageSender messageSender)
          Deprecated.  
 
Method Summary
 void send(Message message)
           
 void send(Object payload)
           
 void setDestinationName(String destinationName)
           
 void setMessageSender(MessageSender messageSender)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSingleDestinationMessageSender

public DefaultSingleDestinationMessageSender()

DefaultSingleDestinationMessageSender

public DefaultSingleDestinationMessageSender(String destinationName,
                                             MessageSender messageSender)
Deprecated. 

Method Detail

send

public void send(Message message)
Specified by:
send in interface SingleDestinationMessageSender

send

public void send(Object payload)
Specified by:
send in interface SingleDestinationMessageSender

setDestinationName

public void setDestinationName(String destinationName)

setMessageSender

public void setMessageSender(MessageSender messageSender)

Liferay 6.1.2-ce-ga3