Package org.apache.activemq.advisory
Class ConsumerStoppedEvent
java.lang.Object
java.util.EventObject
org.apache.activemq.advisory.ConsumerEvent
org.apache.activemq.advisory.ConsumerStoppedEvent
- All Implemented Interfaces:
Serializable
An event generated when a consumer stops.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionConsumerStoppedEvent
(ConsumerEventSource source, ActiveMQDestination destination, ConsumerId consumerId, int count) -
Method Summary
Methods inherited from class org.apache.activemq.advisory.ConsumerEvent
getAdvisor, getConsumerCount, getConsumerId, getDestination
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ConsumerStoppedEvent
public ConsumerStoppedEvent(ConsumerEventSource source, ActiveMQDestination destination, ConsumerId consumerId, int count)
-
-
Method Details
-
isStarted
public boolean isStarted()- Specified by:
isStarted
in classConsumerEvent
-