https://issues.jboss.org/browse/HORNETQ-1137 Removed some synchronized blocks allowing delivery while consumers are hanging on delivery
avoiding NPE on RA
Fixing tests that were eventually failing
Merge pull request #860 from clebertsuconic/master

HORNETQ-1137 and a test fix