Re: HTTP 204 when consuming messages via REST servlet

2010-06-25 Thread lokem
t;>> I have 10 messages in the queue which I'm trying to consume from. >>> Usually >>> the first GET/DELETE request returns the proper message (HTTP 200) while >>> the >>> subsequent retries end up with HTTP 204 responses. >>> >>> Here&#

Re: HTTP 204 when consuming messages via REST servlet

2010-06-25 Thread lokem
oper message (HTTP 200) while >> the >> subsequent retries end up with HTTP 204 responses. >> >> Here's the URL I usually use: >> >> curl -X GET >> " >> http://localhost:8161/demo/message/OUTGOING_QUEUE?readTimeout=500&type=queue >>

Re: HTTP 204 when consuming messages via REST servlet

2010-06-24 Thread Dejan Bosanac
> curl -X GET > " > http://localhost:8161/demo/message/OUTGOING_QUEUE?readTimeout=500&type=queue > " > > Any help is greatly appreciated. > > > > Thanks. > -- > View this message in context: > http://old.nabble.com/HTTP-204-when-consuming-messages-via-REST-servlet-tp28962212p28962212.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > >

HTTP 204 when consuming messages via REST servlet

2010-06-22 Thread lokem
end up with HTTP 204 responses. Here's the URL I usually use: curl -X GET "http://localhost:8161/demo/message/OUTGOING_QUEUE?readTimeout=500&type=queue"; Any help is greatly appreciated. Thanks. -- View this message in context: http://old.nabble.com/HTTP-204-when-consuming-m