I am trying to read message details by message Id from a queue using curl. I want json response displayed in my console or written to a file. I followed the examples as per documentation and they work. Tried something similar for reading the messages with message Id. With jolokia I am getting java.lang.IlleganArgumentException, Key properties cannot be empty errors, and nothing with api/message call. Would like to know what I am missing or doing incorrectly
Rest Call: curl -u admin:admin -H "Origin: http://localhost" http://localhost:8161/api/jolokia/read/type=Broker,brokerName=localhost,destinationType=Queue,destinationName=queue://TestQueue,CorrelationID=1234 curl -v -XGET 'http://admin:admin@localhost:8161/api/message?destination=queue://TestQueue&json=true&oneShot=true' -o dat.txt Thanks, Suba Suresh