On 8/24/07, Ipraveen <[EMAIL PROTECTED]> wrote:
>
> hi
> i am trying to get how much queue in my message broker, when i connect by
> code
>
> brokerService.addConnector("tcp://localhost:61615");
> brokerService.start();
> Object topics[]=brokerView.getTopics();
> for(int k=0;k<topics.length;k++){
> System.out.println("name of queue is "+topics[k]);
> }
>
> i am able to access the number of queue, but when i start activemq server
> and access the same code i am unable to find the number of queues,I don't understand. You can access the number of queues when you are not running the broker? Or is this that you are in a different JVM and need to connect over a remote JMX connector? -- James ------- http://macstrac.blogspot.com/
