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.
- Version:
- $Revision: 564271 $
- See Also:
- Serialized Form
ConsumerStartedEvent
public ConsumerStartedEvent(ConsumerEventSource source,
ActiveMQDestination destination,
ConsumerInfo consumerInfo,
int count)
isStarted
public boolean isStarted()
- Specified by:
isStarted
in class ConsumerEvent
getConsumerInfo
public ConsumerInfo getConsumerInfo()
- Returns:
- details of the subscription
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.