Merge pull request #1530 from clebertsuconic/2.3.x

Adding test created for https://issues.jboss.org/browse/JBPAPP-10985
BZ-1063864 back port HORNETQ-1278 into EAPs
:: https://bugzilla.redhat.com/show_bug.cgi?id=1063864
:: https://issues.jboss.org/browse/HORNETQ-1278