HornetQ create dynamic name (UUID) for temporary Queue/Topic, but for general (non Temporary) Queue/Topic it does not generate dynamic name you need to define name on time of creation of topic/queue.
HornetQ will not auto-create queues/topics.
However, the HornetQ code-base was donated to the Apache ActiveMQ community a few years ago and lives on as the ActiveMQ Artemis broker. Artemis does support the auto-creation of queues and topics. I recommend you discontinue your research and/or use of HornetQ and move to ActiveMQ Artemis.