partial revert of cleberts commit https://github.com/hornetq/hornetq/commit/afc39fdddcb54df420985f081d4a2613c11abe84
Merge pull request #1004 from andytaylor/master

partial revert to cleberts commit