org.apache.activemq.broker.region
Class TempTopic
java.lang.Object
org.apache.activemq.broker.region.BaseDestination
org.apache.activemq.broker.region.Topic
org.apache.activemq.broker.region.TempTopic
- All Implemented Interfaces:
- Destination, Service, Task
public class TempTopic
- extends Topic
- implements Task
The Topic is a destination that sends a copy of a message to every active
Subscription registered.
- Version:
- $Revision: 1.21 $
| Fields inherited from class org.apache.activemq.broker.region.BaseDestination |
broker, brokerService, deadLetterStrategy, destination, destinationStatistics, MAX_BROWSE_PAGE_SIZE, MAX_PAGE_SIZE, memoryUsage, regionBroker, store, systemUsage |
| Methods inherited from class org.apache.activemq.broker.region.Topic |
acknowledge, activate, browse, deactivate, deleteSubscription, dispatch, dispose, gc, getConsumers, getDispatchPolicy, getSubscriptionRecoveryPolicy, isSendAdvisoryIfNoConsumers, iterate, loadMessage, lock, messageExpired, onMessageWithNoConsumers, recoverRetroactiveMessages, removeSubscription, send, setDispatchPolicy, setSendAdvisoryIfNoConsumers, setSubscriptionRecoveryPolicy, start, stop, toString, wakeup |
| Methods inherited from class org.apache.activemq.broker.region.BaseDestination |
addProducer, fastProducer, getActiveMQDestination, getDeadLetterStrategy, getDestinationSequenceId, getDestinationStatistics, getMaxAuditDepth, getMaxBrowsePageSize, getMaxPageSize, getMaxProducersToAudit, getMemoryUsage, getMessageStore, getMinimumMessageSize, getName, isActive, isAdvisdoryForFastProducers, isAdvisoryForConsumed, isAdvisoryForDelivery, isAdvisoryForDiscardingMessages, isAdvisoryForSlowConsumers, isAdvisoryWhenFull, isEnableAudit, isFull, isLazyDispatch, isProducerFlowControl, isUseCache, messageConsumed, messageDelivered, messageDiscarded, removeProducer, setAdvisdoryForFastProducers, setAdvisoryForConsumed, setAdvisoryForDelivery, setAdvisoryForDiscardingMessages, setAdvisoryForSlowConsumers, setAdvisoryWhenFull, setDeadLetterStrategy, setEnableAudit, setLazyDispatch, setMaxAuditDepth, setMaxBrowsePageSize, setMaxPageSize, setMaxProducersToAudit, setMinimumMessageSize, setProducerFlowControl, setUseCache, slowConsumer |
| Methods inherited from interface org.apache.activemq.thread.Task |
iterate |
TempTopic
public TempTopic(BrokerService brokerService,
ActiveMQDestination destination,
TopicMessageStore store,
DestinationStatistics parentStats,
TaskRunnerFactory taskFactory)
throws Exception
- Parameters:
brokerService - destination - store - parentStats - taskFactory -
- Throws:
Exception
addSubscription
public void addSubscription(ConnectionContext context,
Subscription sub)
throws Exception
- Specified by:
addSubscription in interface Destination- Overrides:
addSubscription in class Topic
- Throws:
Exception
initialize
public void initialize()
- Description copied from class:
BaseDestination
- initialize the destination
- Overrides:
initialize in class Topic
Copyright © 2008 The Apache Software Foundation. All Rights Reserved.