Package org.apache.activemq.broker
Class BrokerRegistry
java.lang.Object
org.apache.activemq.broker.BrokerRegistry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbind(String brokerName, BrokerService broker) Returns the first registered broker foundstatic BrokerRegistryvoid
-
Constructor Details
-
BrokerRegistry
public BrokerRegistry()
-
-
Method Details
-
getInstance
-
lookup
- Parameters:
brokerName-- Returns:
- the BrokerService
-
findFirst
Returns the first registered broker found- Returns:
- the first BrokerService
-
bind
- Parameters:
brokerName-broker-
-
unbind
- Parameters:
brokerName-
-
getRegistryMutext
- Returns:
- the mutex used
-
getBrokers
-