org.apache.activemq.advisory
Class ProducerStartedEvent

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

Constructor Detail

ProducerStartedEvent

public ProducerStartedEvent(ProducerEventSource source,
                            ActiveMQDestination destination,
                            ProducerInfo consumerInfo,
                            int count)
Method Detail

isStarted

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

getProducerInfo

public ProducerInfo getProducerInfo()
Returns:
details of the subscription


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