I've actually gotten this to work but I'm pretty sure I've come up with a dumb hack instead of a real solution here. Since I'm running in standalone mode the JMX examples don't work for me and my attempts to use the JMS management code, which looks like this:
result in a JMSSecurityException with user null not having permission to MANAGE. I have manage permisions for 'hornetq.management' added to the security settings in hornetq-configuration as well as createDurableQueue, createNonDurableQueue and createTempQueue permissions.
My dumb hack, by the way, was to go into the core API, create a ClientSession and call