public abstract class BaseDestination extends java.lang.Object implements Destination
Modifier and Type | Field and Description |
---|---|
protected MessageListenerRegistry |
messageListenerRegistry |
protected java.lang.String |
name |
Constructor and Description |
---|
BaseDestination() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
close(boolean force) |
void |
destroy() |
DestinationStatistics |
getDestinationStatistics() |
java.lang.String |
getDestinationType() |
java.lang.String |
getName() |
void |
open() |
void |
send(Message message) |
void |
setDestinationType(java.lang.String destinationType) |
void |
setMessageListenerRegistry(MessageListenerRegistry messageListenerRegistry) |
void |
setName(java.lang.String name) |
protected MessageListenerRegistry messageListenerRegistry
protected java.lang.String name
public void close()
close
in interface Destination
public void close(boolean force)
close
in interface Destination
public void destroy()
destroy
in interface Destination
public DestinationStatistics getDestinationStatistics()
getDestinationStatistics
in interface Destination
public java.lang.String getDestinationType()
getDestinationType
in interface Destination
public java.lang.String getName()
getName
in interface Destination
public void open()
open
in interface Destination
public void send(Message message)
send
in interface Destination
public void setDestinationType(java.lang.String destinationType)
public void setMessageListenerRegistry(MessageListenerRegistry messageListenerRegistry)
public void setName(java.lang.String name)