org.springframework.integration.aggregator
Class MessageSequenceComparator
java.lang.Object
org.springframework.integration.aggregator.MessageSequenceComparator
- All Implemented Interfaces:
- Comparator<Message<?>>
public class MessageSequenceComparator
- extends Object
- implements Comparator<Message<?>>
A Comparator
implementation based on the 'sequence number'
property of a Message's
header.
- Author:
- Mark Fisher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageSequenceComparator
public MessageSequenceComparator()
compare
public int compare(Message<?> message1,
Message<?> message2)
- Specified by:
compare
in interface Comparator<Message<?>>
Copyright © 2010. All Rights Reserved.