com.liferay.portal.kernel.messaging
Interface MessageBus
- All Known Implementing Classes:
- DefaultMessageBus
public interface MessageBus
View Source
- Author:
- Michael C. Han
addDestination
void addDestination(Destination destination)
addDestinationEventListener
void addDestinationEventListener(DestinationEventListener listener)
getDestinationCount
int getDestinationCount()
getDestinationNames
java.util.Collection<java.lang.String> getDestinationNames()
getDestinations
java.util.Collection<Destination> getDestinations()
hasDestination
boolean hasDestination(java.lang.String destinationName)
hasMessageListener
boolean hasMessageListener(java.lang.String destination)
registerMessageListener
void registerMessageListener(java.lang.String destination,
MessageListener listener)
removeDestination
void removeDestination(java.lang.String destination)
removeDestinationEventListener
void removeDestinationEventListener(DestinationEventListener listener)
sendMessage
void sendMessage(java.lang.String destination,
Message message)
shutdown
void shutdown()
shutdown
void shutdown(boolean force)
unregisterMessageListener
boolean unregisterMessageListener(java.lang.String destination,
MessageListener listener)