[jboss-user] [JBoss Messaging] - Re: Embedded server - how to create JMS Topic?

ataylor do-not-reply at jboss.com
Tue Jun 30 06:12:40 EDT 2009


When using the core API there i s no such thing as a topic, we only deal with queues. Basically a topic consists of an address with multiple queues bound to it where each queue will have a consumer(subscriber).

If you are using JMS then i would recommend taking a look at the JMSServerManager, you could do something like:

[codeJMSServerManager ]jmsServer = new JMSServerManagerImpl(server);
jmsServer.createTopic(.....

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240985#4240985

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240985



More information about the jboss-user mailing list