Package org.apache.activemq.advisory
Class ProducerStartedEvent
java.lang.Object
java.util.EventObject
org.apache.activemq.advisory.ProducerEvent
org.apache.activemq.advisory.ProducerStartedEvent
- All Implemented Interfaces:
Serializable
An event when a new consumer has started.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionProducerStartedEvent
(ProducerEventSource source, ActiveMQDestination destination, ProducerInfo consumerInfo, int count) -
Method Summary
Methods inherited from class org.apache.activemq.advisory.ProducerEvent
getAdvisor, getDestination, getProducerCount, getProducerId
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ProducerStartedEvent
public ProducerStartedEvent(ProducerEventSource source, ActiveMQDestination destination, ProducerInfo consumerInfo, int count)
-
-
Method Details
-
isStarted
public boolean isStarted()- Specified by:
isStarted
in classProducerEvent
-
getProducerInfo
- Returns:
- details of the subscription
-