Actually I am able to get data from the activemq there was a bug in my code
Thanks all
Anurag
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Trying-to-access-activemq-statistics-not-working-tp3504459p3606495.html
Sent from the ActiveMQ - User mailing list archive at
Can you please guide me what the correct way is then so that I dont get this
error.
Thanks
Anurag
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Trying-to-access-activemq-statistics-not-working-tp3504459p3604544.html
Sent from the ActiveMQ - User mailing list archive at
roducer(testQueue);
> Message msg = session.createMessage();
>
> msg.setJMSReplyTo(replyTo);
> producer.send(msg);
>
>
> MapMessage reply = (MapMessage) consumer.receive();
>
> for (Enumeration e = reply.getMapNames();e.hasMoreElements();) {
> String name = e.nextElem
tring();
System.out.println(name + "=" + reply.getObject(name));
}
connection.close();
}
}
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Trying-to-access-activemq-statistics-not-working-tp3504459p3504459.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.