SpringSource/spring-integration — pull request #427 by olegz (2012-05-08 19:23:07+00:00)
Title: Int 2508 21x Backport

Fixed the concurrency issue with PriorityChannel by
introducing private MessageWrapper as an implementation of Message to maintain the contract with the Comparator.The MessageWrapper will maintain the original Message in tact plus
the copy of MessageHeaders + sequence header which previously was injected in the original Message via DFA. The only downside of this approach is the invocation of
new MessageHeaders which generates the UUID, but its much better than the other approach i tried (Proxy)