Class SimpleDispatchSelector

    • Constructor Detail

      • SimpleDispatchSelector

        public SimpleDispatchSelector​(org.apache.activemq.command.ActiveMQDestination destination)
        Parameters:
        destination -
    • Method Detail

      • canDispatch

        public boolean canDispatch​(Subscription subscription,
                                   org.apache.activemq.broker.region.MessageReference node)
                            throws Exception
        Description copied from interface: DispatchSelector
        return true if a subscription can dispatch a message reference
        Specified by:
        canDispatch in interface DispatchSelector
        Returns:
        true if can dispatch
        Throws:
        Exception