public interface Destination
Modifier and Type | Method and Description |
---|---|
boolean |
addDestinationEventListener(DestinationEventListener destinationEventListener) |
void |
close() |
void |
close(boolean force) |
void |
copyDestinationEventListeners(Destination destination) |
void |
copyMessageListeners(Destination destination) |
void |
destroy() |
DestinationStatistics |
getDestinationStatistics() |
int |
getMessageListenerCount() |
Set<MessageListener> |
getMessageListeners() |
String |
getName() |
boolean |
isRegistered() |
void |
open() |
boolean |
register(MessageListener messageListener) |
boolean |
register(MessageListener messageListener,
ClassLoader classLoader) |
boolean |
removeDestinationEventListener(DestinationEventListener destinationEventListener) |
void |
removeDestinationEventListeners() |
void |
send(Message message) |
boolean |
unregister(MessageListener messageListener) |
void |
unregisterMessageListeners() |
boolean addDestinationEventListener(DestinationEventListener destinationEventListener)
void close()
void close(boolean force)
void copyDestinationEventListeners(Destination destination)
void copyMessageListeners(Destination destination)
void destroy()
DestinationStatistics getDestinationStatistics()
int getMessageListenerCount()
Set<MessageListener> getMessageListeners()
String getName()
boolean isRegistered()
void open()
boolean register(MessageListener messageListener)
boolean register(MessageListener messageListener, ClassLoader classLoader)
boolean removeDestinationEventListener(DestinationEventListener destinationEventListener)
void removeDestinationEventListeners()
void send(Message message)
boolean unregister(MessageListener messageListener)
void unregisterMessageListeners()