openjms - Is there any way to create topics in Open JMS other than admin UI? -


i able create topics in open jms using admin ui. there java api or rest api or shell command so?

administration api can used in java.

sample code:

import org.exolab.jms.administration.adminconnectionfactory; import org.exolab.jms.administration.jmsadminserverifc;  // ...     string url = "tcp://localhost:3035/";     jmsadminserverifc admin = adminconnectionfactory.create(url);      string topic = "mytopic";     boolean isqueue = boolean.false;     if (!admin.adddestination(topic, isqueue)) {         system.err.println("failed create topic " + topic);     } 

Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -