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