Hello!
I'm beginner user of ActiveMQ, and I use it via REST interface. 
I have no problem with posting messages in queues, but  I'm probably missing
something when receiving.
I have 1 message in queue Site.Incoming, and I cannot receive it — getting
204 no content:

15:02 $ curl --raw -v -XGET
"http://localhost:8161/api/message?destination=queue://Site.Incoming";
* About to connect() to localhost port 8161 (#0)
*   Trying ::1...
* connected
* Connected to localhost (::1) port 8161 (#0)
> GET /api/message?destination=queue://Site.Incoming HTTP/1.1
> Host: localhost:8161
> Accept: */*
> 
< HTTP/1.1 204 No Content
< Set-Cookie: JSESSIONID=pitjw15c1xhz1j9t1th2bmsll;Path=/api
< Expires: Thu, 01 Jan 1970 00:00:00 GMT
< Server: Jetty(8.1.16.v20140903)

What I am doing wrong? What 



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Cannot-receive-message-via-REST-tp4709551.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to