public class DestinationFactoryImpl extends DestinationFactory
Destination
.Modifier and Type | Field and Description |
---|---|
protected RegionBroker |
broker |
protected PersistenceAdapter |
persistenceAdapter |
protected org.apache.activemq.thread.TaskRunnerFactory |
taskRunnerFactory |
Constructor and Description |
---|
DestinationFactoryImpl(BrokerService brokerService,
org.apache.activemq.thread.TaskRunnerFactory taskRunnerFactory,
PersistenceAdapter persistenceAdapter) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureQueue(Queue queue,
org.apache.activemq.command.ActiveMQDestination destination) |
protected void |
configureTopic(Topic topic,
org.apache.activemq.command.ActiveMQDestination destination) |
Destination |
createDestination(ConnectionContext context,
org.apache.activemq.command.ActiveMQDestination destination,
DestinationStatistics destinationStatistics)
Create destination implementation.
|
org.apache.activemq.command.SubscriptionInfo[] |
getAllDurableSubscriptions(org.apache.activemq.command.ActiveMQTopic topic)
Lists all the durable subscirptions for a given destination.
|
Set<org.apache.activemq.command.ActiveMQDestination> |
getDestinations()
Returns a set of all the
ActiveMQDestination
objects that the persistence store is aware exist. |
long |
getLastMessageBrokerSequenceId() |
PersistenceAdapter |
getPersistenceAdapter() |
void |
removeDestination(Destination dest) |
void |
setRegionBroker(RegionBroker broker) |
protected final org.apache.activemq.thread.TaskRunnerFactory taskRunnerFactory
protected final PersistenceAdapter persistenceAdapter
protected RegionBroker broker
public DestinationFactoryImpl(BrokerService brokerService, org.apache.activemq.thread.TaskRunnerFactory taskRunnerFactory, PersistenceAdapter persistenceAdapter)
public void setRegionBroker(RegionBroker broker)
setRegionBroker
in class DestinationFactory
public Set<org.apache.activemq.command.ActiveMQDestination> getDestinations()
DestinationFactory
ActiveMQDestination
objects that the persistence store is aware exist.getDestinations
in class DestinationFactory
public Destination createDestination(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, DestinationStatistics destinationStatistics) throws Exception
DestinationFactory
createDestination
in class DestinationFactory
Queue
or Topic
Exception
public void removeDestination(Destination dest)
removeDestination
in class DestinationFactory
protected void configureQueue(Queue queue, org.apache.activemq.command.ActiveMQDestination destination)
protected void configureTopic(Topic topic, org.apache.activemq.command.ActiveMQDestination destination)
public long getLastMessageBrokerSequenceId() throws IOException
getLastMessageBrokerSequenceId
in class DestinationFactory
IOException
public PersistenceAdapter getPersistenceAdapter()
public org.apache.activemq.command.SubscriptionInfo[] getAllDurableSubscriptions(org.apache.activemq.command.ActiveMQTopic topic) throws IOException
DestinationFactory
getAllDurableSubscriptions
in class DestinationFactory
IOException
Copyright © 2005–2019 The Apache Software Foundation. All rights reserved.