I watched the org.hornetq.core.server package, which seems to have the most interesting low-level APIS related to server management.
There are several methods in the server session that are marked as "Queue", but none of them contain a topic ...
ServerSession
void createQueue(SimpleString address,
SimpleString name,
SimpleString filterString,
boolean temporary,
boolean durable) throws Exception;
void deleteQueue(SimpleString name) throws Exception
QueueFactory interface
Queue createQueue(long persistenceID,
final SimpleString address,
SimpleString name,
Filter filter,
boolean durable,
boolean temporary);
However, I could not figure out how to create a theme. Am I missing something, is this a JMS topic implemented as a queue?
source
share