public class TempTopicRegion extends AbstractTempRegion
autoCreateDestinations, broker, consumerChangeMutexMap, destinationFactory, destinationMap, destinations, destinationsLock, destinationStatistics, started, subscriptions, taskRunnerFactory, usageManager| Constructor and Description |
|---|
TempTopicRegion(RegionBroker broker,
DestinationStatistics destinationStatistics,
SystemUsage memoryManager,
TaskRunnerFactory taskRunnerFactory,
DestinationFactory destinationFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected Subscription |
createSubscription(ConnectionContext context,
ConsumerInfo info) |
protected Destination |
doCreateDestination(ConnectionContext context,
ActiveMQDestination destination) |
void |
removeDestination(ConnectionContext context,
ActiveMQDestination destination,
long timeout)
Used to destroy a destination.
|
java.lang.String |
toString() |
createDestination, dispose, stopacknowledge, addConsumer, addDestination, addProducer, addSubscriptionsForDestination, destroySubscription, gc, getDestinationMap, getDestinations, getDurableDestinations, getInactiveDestinations, getSubscriptions, isAutoCreateDestinations, lookup, messagePull, processConsumerControl, processDispatchNotification, processDispatchNotificationViaDestination, removeConsumer, removeProducer, removeSubscription, send, setAutoCreateDestinations, startpublic TempTopicRegion(RegionBroker broker, DestinationStatistics destinationStatistics, SystemUsage memoryManager, TaskRunnerFactory taskRunnerFactory, DestinationFactory destinationFactory)
protected Subscription createSubscription(ConnectionContext context, ConsumerInfo info) throws javax.jms.JMSException
createSubscription in class AbstractRegionjavax.jms.JMSExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic 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 - TODOprotected Destination doCreateDestination(ConnectionContext context, ActiveMQDestination destination) throws java.lang.Exception
doCreateDestination in class AbstractTempRegionjava.lang.ExceptionCopyright © 2005-2012. All Rights Reserved.