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