com.liferay.portal.kernel.messaging.sender
Class DefaultSynchronousMessageSender
java.lang.Object
com.liferay.portal.kernel.messaging.sender.DefaultSynchronousMessageSender
- All Implemented Interfaces:
- SynchronousMessageSender
public class DefaultSynchronousMessageSender
- extends Object
- implements SynchronousMessageSender
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSynchronousMessageSender
public DefaultSynchronousMessageSender()
DefaultSynchronousMessageSender
public DefaultSynchronousMessageSender(MessageBus messageBus,
PortalUUID portalUUID,
long timeout)
- Deprecated.
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)