Class DestinationFactory
java.lang.Object
org.apache.activemq.broker.region.DestinationFactory
- Direct Known Subclasses:
DestinationFactoryImpl
Used to create Destinations. One instance of DestinationFactory is used per BrokerService.
- Author:
- fateev@amazon.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract DestinationcreateDestination(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, DestinationStatistics destinationStatistics) Create destination implementation.abstract org.apache.activemq.command.SubscriptionInfo[]getAllDurableSubscriptions(org.apache.activemq.command.ActiveMQTopic topic) Lists all the durable subscirptions for a given destination.abstract Set<org.apache.activemq.command.ActiveMQDestination>Returns a set of all theActiveMQDestinationobjects that the persistence store is aware exist.abstract longabstract voidremoveDestination(Destination dest) abstract voidsetRegionBroker(RegionBroker regionBroker)
-
Constructor Details
-
DestinationFactory
public DestinationFactory()
-
-
Method Details
-
createDestination
public abstract Destination createDestination(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, DestinationStatistics destinationStatistics) throws Exception Create destination implementation.- Throws:
Exception
-
removeDestination
-
getDestinations
Returns a set of all theActiveMQDestinationobjects that the persistence store is aware exist. -
getAllDurableSubscriptions
public abstract org.apache.activemq.command.SubscriptionInfo[] getAllDurableSubscriptions(org.apache.activemq.command.ActiveMQTopic topic) throws IOException Lists all the durable subscirptions for a given destination.- Throws:
IOException
-
getLastMessageBrokerSequenceId
- Throws:
IOException
-
setRegionBroker
-