Merge pull request #825 from clebertsuconic/Branch_2_2_EAP

https://issues.jboss.org/browse/HORNETQ-1122 check-direct optimization