Package org.apache.activemq.advisory
Class ConsumerStartedEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.apache.activemq.advisory.ConsumerEvent
-
- org.apache.activemq.advisory.ConsumerStartedEvent
-
- All Implemented Interfaces:
Serializable
public class ConsumerStartedEvent extends ConsumerEvent
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 ConsumerStartedEvent(ConsumerEventSource source, ActiveMQDestination destination, ConsumerInfo consumerInfo, int count)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsumerInfo
getConsumerInfo()
boolean
isStarted()
-
Methods inherited from class org.apache.activemq.advisory.ConsumerEvent
getAdvisor, getConsumerCount, getConsumerId, getDestination
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
ConsumerStartedEvent
public ConsumerStartedEvent(ConsumerEventSource source, ActiveMQDestination destination, ConsumerInfo consumerInfo, int count)
-
-
Method Detail
-
isStarted
public boolean isStarted()
- Specified by:
isStarted
in classConsumerEvent
-
getConsumerInfo
public ConsumerInfo getConsumerInfo()
- Returns:
- details of the subscription
-
-