I'm having trouble getting an example running using the REST API with ActiveMQ 5.4.0. I've seen several different GET URIs.
The documentation refers to this URI: http://localhost:8161/demo/message/<queue name>?type=queue
Other sources refer to these URIs:
Which URI is correct? Is there some configuration that I've missed?
Thank you!
If you make use of the ActiveMQ MessageServlet, then the format for the REST URI is:
http://localhost:8080/message/test?readTimeout=1000&type=queue
There is a demo of this URI format shown in the RestTest.
Bruce
If you are using ActiveMQ 5.8 or higher you should use this URL instead:
http://localhost:8080/api/message/test?readTimeout=1000&type=queue
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With