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
ConstructorsConstructorDescriptionProducerStartedEvent(ProducerEventSource source, ActiveMQDestination destination, ProducerInfo consumerInfo, 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
-
ProducerStartedEvent
public ProducerStartedEvent(ProducerEventSource source, ActiveMQDestination destination, ProducerInfo consumerInfo, int count)
-
-
Method Details
-
isStarted
public boolean isStarted()- Specified by:
isStartedin classProducerEvent
-
getProducerInfo
- Returns:
- details of the subscription
-