Interface DispatchSelector

All Known Implementing Classes:
QueueDispatchSelector, SimpleDispatchSelector

public interface DispatchSelector
Determines if a subscription can dispatch a message reference
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canDispatch(Subscription subscription, org.apache.activemq.broker.region.MessageReference node)
    return true if a subscription can dispatch a message reference
  • Method Details

    • canDispatch

      boolean canDispatch(Subscription subscription, org.apache.activemq.broker.region.MessageReference node) throws Exception
      return true if a subscription can dispatch a message reference
      Parameters:
      subscription -
      node -
      Returns:
      true if can dispatch
      Throws:
      Exception