0 Replies Latest reply on Aug 16, 2002 11:31 PM by garyg

    remote queue creation w/ jmx-console

    garyg Novice

      So anyone know how the following lines for dynamically creating a remote queue (used from 2.4.4) from the client have changed with the new jmx-console viewer in 3.0.1? Everything I try is 404.

      --- snip ---

      String action = "action=createQueue?action=createQueue"
      + "¶m0%2Bjava.lang.String=aQueue";

      String arg = "/InvokeAction//JBossMQ%3Aservice%3DServer"
      + "/" + action;

      try {
      URL url = new URL("http", "myMachine", 8082, arg);
      HttpURLConnection urlConn = (HttpURLConnection)url.openConnection();
      urlConn.connect();
      ...

      Any help much appreciated.