hornetq/hornetq — pull request #1600 by esarbanis (2014-03-31 14:25:43+00:00)
Title: Only copy the originnal message in the DivertImpl, if it is forwarded to somewhere else.

Optimization in accordance to the following code comment:

"// TODO we can optimise this so it doesn't copy if it's not routed anywhere else"