Class TempQueueRegion

All Implemented Interfaces:
Region, org.apache.activemq.Service
Direct Known Subclasses:
ManagedTempQueueRegion

public class TempQueueRegion extends AbstractTempRegion
  • Constructor Details

  • Method Details

    • createSubscription

      protected Subscription createSubscription(ConnectionContext context, org.apache.activemq.command.ConsumerInfo info) throws jakarta.jms.JMSException
      Specified by:
      createSubscription in class AbstractRegion
      Throws:
      jakarta.jms.JMSException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • removeDestination

      public void removeDestination(ConnectionContext context, org.apache.activemq.command.ActiveMQDestination destination, long timeout) throws Exception
      Description copied from interface: Region
      Used to destroy a destination. This should try to quiesce use of the destination up to the timeout allotted time before removing the destination. This will remove all persistent messages associated with the destination.
      Specified by:
      removeDestination in interface Region
      Overrides:
      removeDestination in class AbstractRegion
      Parameters:
      context - the environment the operation is being executed under.
      destination - what is being removed from the broker.
      timeout - the max amount of time to wait for the destination to quiesce
      Throws:
      Exception - TODO
    • processDispatchNotification

      public void processDispatchNotification(org.apache.activemq.command.MessageDispatchNotification messageDispatchNotification) throws Exception
      Description copied from interface: Region
      Process a notification of a dispatch - used by a Slave Broker
      Specified by:
      processDispatchNotification in interface Region
      Overrides:
      processDispatchNotification in class AbstractRegion
      Throws:
      Exception - TODO