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
public class ProducerStartedEvent extends ProducerEvent
An event when a new consumer has started.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description ProducerStartedEvent(ProducerEventSource source, ActiveMQDestination destination, ProducerInfo consumerInfo, int count)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProducerInfo
getProducerInfo()
boolean
isStarted()
-
Methods inherited from class org.apache.activemq.advisory.ProducerEvent
getAdvisor, getDestination, getProducerCount, getProducerId
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
ProducerStartedEvent
public ProducerStartedEvent(ProducerEventSource source, ActiveMQDestination destination, ProducerInfo consumerInfo, int count)
-
-
Method Detail
-
isStarted
public boolean isStarted()
- Specified by:
isStarted
in classProducerEvent
-
getProducerInfo
public ProducerInfo getProducerInfo()
- Returns:
- details of the subscription
-
-