https://jira.jboss.org/browse/HORNETQ-450
Seemed a bit touchy to reproduce, but i think the testcase I've attached works.