Liferay 6.2-ce-ga5

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

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

public class DefaultSynchronousMessageSender
extends Object
implements SynchronousMessageSender


Constructor Summary
DefaultSynchronousMessageSender()
           
DefaultSynchronousMessageSender(MessageBus messageBus, PortalUUID portalUUID, long timeout)
          Deprecated. As of 6.1.0
 
Method Summary
 Object send(String destinationName, Message message)
           
 Object send(String destinationName, Message message, long timeout)
           
 void setMessageBus(MessageBus messageBus)
           
 void setPortalUUID(PortalUUID portalUUID)
           
 void setTimeout(long timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSynchronousMessageSender

public DefaultSynchronousMessageSender()

DefaultSynchronousMessageSender

public DefaultSynchronousMessageSender(MessageBus messageBus,
                                       PortalUUID portalUUID,
                                       long timeout)
Deprecated. As of 6.1.0

Method Detail

send

public Object send(String destinationName,
                   Message message)
            throws MessageBusException
Specified by:
send in interface SynchronousMessageSender
Throws:
MessageBusException

send

public Object send(String destinationName,
                   Message message,
                   long timeout)
            throws MessageBusException
Specified by:
send in interface SynchronousMessageSender
Throws:
MessageBusException

setMessageBus

public void setMessageBus(MessageBus messageBus)

setPortalUUID

public void setPortalUUID(PortalUUID portalUUID)

setTimeout

public void setTimeout(long timeout)

Liferay 6.2-ce-ga5