Anyone tired of copy-pasting/writing jms definitions, then take a look at https://www.jboss.org/community/docs/DOC-13372