public class ManagedTopicRegion extends TopicRegion
durableSubscriptionsautoCreateDestinations, broker, consumerChangeMutexMap, destinationFactory, destinationMap, destinations, destinationsLock, destinationStatistics, started, subscriptions, taskRunnerFactory, usageManager| Constructor and Description |
|---|
ManagedTopicRegion(ManagedRegionBroker broker,
DestinationStatistics destinationStatistics,
SystemUsage memoryManager,
TaskRunnerFactory taskRunnerFactory,
DestinationFactory destinationFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected Destination |
createDestination(ConnectionContext context,
ActiveMQDestination destination) |
protected Subscription |
createSubscription(ConnectionContext context,
ConsumerInfo info) |
protected void |
destroySubscription(Subscription sub) |
void |
removeDestination(ConnectionContext context,
ActiveMQDestination destination,
long timeout)
Used to destroy a destination.
|
addConsumer, addSubscriptionsForDestination, configureTopic, createInactiveConsumerInfo, doCleanup, durableSubscriptionExists, getDurableSubscription, getInactiveDestinations, isKeepDurableSubsActive, removeConsumer, removeSubscription, setKeepDurableSubsActive, stop, toStringacknowledge, addDestination, addProducer, dispose, gc, getDestinationMap, getDestinations, getDurableDestinations, getSubscriptions, isAutoCreateDestinations, lookup, messagePull, processConsumerControl, processDispatchNotification, processDispatchNotificationViaDestination, reapplyInterceptor, removeProducer, send, setAutoCreateDestinations, startpublic ManagedTopicRegion(ManagedRegionBroker broker, DestinationStatistics destinationStatistics, SystemUsage memoryManager, TaskRunnerFactory taskRunnerFactory, DestinationFactory destinationFactory)
protected Subscription createSubscription(ConnectionContext context, ConsumerInfo info) throws javax.jms.JMSException
createSubscription in class TopicRegionjavax.jms.JMSExceptionprotected void destroySubscription(Subscription sub)
destroySubscription in class AbstractRegionprotected Destination createDestination(ConnectionContext context, ActiveMQDestination destination) throws java.lang.Exception
createDestination in class AbstractRegionjava.lang.Exceptionpublic void removeDestination(ConnectionContext context, ActiveMQDestination destination, long timeout) throws java.lang.Exception
RegionremoveDestination in interface RegionremoveDestination in class AbstractRegioncontext - the environment the operation is being executed under.destination - what is being removed from the broker.timeout - the max amount of time to wait for the destination to quiescejava.lang.Exception - TODOCopyright © 2005-2014 Red Hat, Inc.. All Rights Reserved.