Re: HTTP 204 when consuming messages via REST servlet

2010-06-25 Thread lokem
I should mention that I'm using AMQ 5.3.x and the method described in http://activemq.apache.org/rest.html#REST-Consumingwithselectors doesn't apply :( Thanks. lokem wrote: > > Hi, > > Thanks for the pointer. It's working now without returning any 204 > response. Is it possible to retrieve

Re: HTTP 204 when consuming messages via REST servlet

2010-06-25 Thread lokem
Hi, Thanks for the pointer. It's working now without returning any 204 response. Is it possible to retrieve a message via REST by specifying the message JMSCorrelationID? Thanks. Dejan Bosanac wrote: > > Hi, > > this just means that your session is not reused between calls. Take a look >

Re: HTTP 204 when consuming messages via REST servlet

2010-06-24 Thread Dejan Bosanac
Hi, this just means that your session is not reused between calls. Take a look at this example: cd examples ant producer -Dmax=10 wget -O - --save-cookies cookies.txt --load-cookies cookies.txt --keep-session-cookies http://localhost:8161/demo/message/TEST.FOO?type=queue will get all messages