Interface DispatchSelector
- All Known Implementing Classes:
QueueDispatchSelector,SimpleDispatchSelector
public interface DispatchSelector
Determines if a subscription can dispatch a message reference
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanDispatch(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
-