org.apache.activemq.broker.region.policy
Interface DispatchSelector

All Known Implementing Classes:
QueueDispatchSelector, SimpleDispatchSelector

public interface DispatchSelector

Determines if a subscription can dispatch a message reference


Method Summary
 boolean canDispatch(Subscription subscription, MessageReference node)
          return true if a subscription can dispatch a message reference
 

Method Detail

canDispatch

boolean canDispatch(Subscription subscription,
                    MessageReference node)
                    throws Exception
return true if a subscription can dispatch a message reference

Parameters:
subscription -
node -
Returns:
true if can dispatch
Throws:
Exception


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.