org.apache.activemq.advisory
Class ConsumerStartedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.apache.activemq.advisory.ConsumerEvent
          extended by 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
ConsumerStartedEvent(ConsumerEventSource source, ActiveMQDestination destination, ConsumerInfo consumerInfo, int count)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConsumerStartedEvent

public ConsumerStartedEvent(ConsumerEventSource source,
                            ActiveMQDestination destination,
                            ConsumerInfo consumerInfo,
                            int count)
Method Detail

isStarted

public boolean isStarted()
Specified by:
isStarted in class ConsumerEvent

getConsumerInfo

public ConsumerInfo getConsumerInfo()
Returns:
details of the subscription


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.