Merge pull request #909 from clebertsuconic/fix-branch-as7

fixing build after parser change
HORNETQ-1151 - avoiding NPE when deleting a queue and producing at the same time