org.apache.activemq.util
Class MessageDestinationComparator
java.lang.Object
org.apache.activemq.util.MessageComparatorSupport
org.apache.activemq.util.MessageDestinationComparator
- All Implemented Interfaces:
- Serializable, Comparator
public class MessageDestinationComparator
- extends MessageComparatorSupport
A comparator which works on SendCommand objects to compare the destinations
- Version:
- $Revision: 564057 $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageDestinationComparator
public MessageDestinationComparator()
compareMessages
protected int compareMessages(Message message1,
Message message2)
- Specified by:
compareMessages
in class MessageComparatorSupport
getDestination
protected Destination getDestination(Message message)
getComparable
protected Comparable getComparable(Destination destination)
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.