[jboss-user] [JBoss Messaging] - Re: Programmaticaly create queue

liudan2005 do-not-reply at jboss.com
Thu Jan 4 12:29:59 EST 2007


Why do I get InstanceNotFoundException ? here is my code:

  | mbeanServer = MBeanServerFactory.createMBeanServer();
  | ObjectName objName = new ObjectName("jboss.messaging:service=ServerPeer");
  | mbeanServer.invoke(objName, "createQueue",
  |                 new Object[] { "anyname", null },
  |                 new String[] { "java.lang.String", "java.lang.String"} );
  | 

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

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



More information about the jboss-user mailing list