Usually you start a broker and create queues on it... you can start a new hornetq server embedded though...
But I don't have much context on what you want to achieve there.. I can only answer these two specific questions . I don't see where the human interaction gets in on your question.