Package org.apache.activemq.command
Interface Endpoint
- All Known Implementing Classes:
BaseEndpoint
,DatagramEndpoint
public interface Endpoint
Represents the logical endpoint where commands come from or are sent to.
For connection based transports like TCP / VM then there is a single endpoint
for all commands. For transports like multicast there could be different
endpoints being used on the same transport.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the broker ID for this endpoint, if the endpoint is a broker or nullReturns the broker information for this endpoint, if the endpoint is a broker or nullgetName()
Returns the name of the endpoint.void
setBrokerInfo
(BrokerInfo brokerInfo)
-
Method Details
-
getName
String getName()Returns the name of the endpoint. -
getBrokerId
BrokerId getBrokerId()Returns the broker ID for this endpoint, if the endpoint is a broker or null -
getBrokerInfo
BrokerInfo getBrokerInfo()Returns the broker information for this endpoint, if the endpoint is a broker or null -
setBrokerInfo
-