Package org.apache.activemq.advisory
Class ProducerStoppedEvent
java.lang.Object
java.util.EventObject
org.apache.activemq.advisory.ProducerEvent
org.apache.activemq.advisory.ProducerStoppedEvent
- 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
ConstructorsConstructorDescriptionProducerStoppedEvent(ProducerEventSource source, ActiveMQDestination destination, ProducerId consumerId, int count) -
Method Summary
Methods inherited from class org.apache.activemq.advisory.ProducerEvent
getAdvisor, getDestination, getProducerCount, getProducerIdMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ProducerStoppedEvent
public ProducerStoppedEvent(ProducerEventSource source, ActiveMQDestination destination, ProducerId consumerId, int count)
-
-
Method Details
-
isStarted
public boolean isStarted()- Specified by:
isStartedin classProducerEvent
-