Class ProducerEvent

java.lang.Object
java.util.EventObject
org.apache.activemq.advisory.ProducerEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ProducerStartedEvent, ProducerStoppedEvent

public abstract class ProducerEvent extends EventObject
An event when the number of producers on a given destination changes.
See Also:
  • Constructor Details

    • ProducerEvent

      public ProducerEvent(ProducerEventSource source, jakarta.jms.Destination destination, ProducerId producerId, int producerCount)
  • Method Details

    • getAdvisor

      public ProducerEventSource getAdvisor()
    • getDestination

      public jakarta.jms.Destination getDestination()
    • getProducerCount

      public int getProducerCount()
      Returns the current number of producers active at the time this advisory was sent.
    • getProducerId

      public ProducerId getProducerId()
    • isStarted

      public abstract boolean isStarted()