How does one programmatically create a topic w/ hornet q ?
Posted
by
mP
on Stack Overflow
See other posts from Stack Overflow
or by mP
Published on 2010-12-31T11:30:38Z
Indexed on
2011/01/04
10:54 UTC
Read the original article
Hit count: 262
I have been looking at the org.hornetq.core.server package which seems to have the most interesting low level APIS relating to managing the server.
The server session has a few methods labelled something Queue but none include Topic ...
ServerSession
void createQueue(SimpleString address,
SimpleString name,
SimpleString filterString,
boolean temporary,
boolean durable) throws Exception;
void deleteQueue(SimpleString name) throws Exception
interface QueueFactory
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 topic. Am i missing something is a JMS topic implemented as a queue ?
© Stack Overflow or respective owner