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
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-2011 Apache Software Foundation. All Rights Reserved.