3 Replies Latest reply on May 16, 2012 5:15 AM by jmesnil

    how can i use listMessages() from JMSQueueControl

    richard916

      i am new to hornetq, so can somebody take a minute or two to free me from  confusion of  initializing JMSQueueControl?

      i read the management api part of user mannual and want to use the listMessage() method.

      i tried to use it this way but failed

      1. JMSQueueControl jqc = new JMSQueueControl();

      2. jqc.listMessages();

      thanks