Interface DispatchPolicy
- All Known Implementing Classes:
MessageGroupDispatchPolicy
,RoundRobinDispatchPolicy
public interface DispatchPolicy
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addLocalMetric
(QueueMetric metric) void
addMetric
(String routerName, ClusteredQueueMetric metric) void
close()
getNextSendQueue
(MessageImpl message) boolean
boolean
void
removeLocalMetric
(QueueMetric metric) void
removeMetric
(String routerName) void
-
Method Details
-
setDispatchPolicyListener
-
addLocalMetric
-
removeLocalMetric
-
getLocalMetric
ClusteredQueueMetric getLocalMetric() -
addMetric
-
removeMetric
-
isReceiverSomewhere
boolean isReceiverSomewhere() -
isMessageBasedDispatch
boolean isMessageBasedDispatch() -
getNextSendQueue
String getNextSendQueue() -
getNextSendQueue
-
getNextReceiveQueue
String getNextReceiveQueue() -
close
void close()
-