[jboss-user] [JBoss Messaging] - programmatically deploy clustered topic

fatbatman do-not-reply at jboss.com
Wed Oct 10 19:04:11 EDT 2007


How do I programmatically deploy a clustered topic in v1.3 ?

I'm currently using;

MBeanServerConnection mBeanServer = MBeanServerLocator.locateJBoss();  
  | ObjectName objName = new ObjectName("jboss.messaging:service=ServerPeer");
  | MBeanServerInvocationHandler.newProxyInstance(mBeanServer, objName, ServerPeerMBean.class, false);
  | serverPeerMBean.deployTopic(name,jndiName);

thanks in advance

James

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

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



More information about the jboss-user mailing list