Dejan,
and everyone else THANK YOU.
I read this many times but did not understand how to implement it.
But after going through it again and again and doing some trial
and error I have finally found a combination that works. Let me share some
C# code..
This REST protocol really balances things
Hi Bob,
Take a look at this: http://activemq.apache.org/rest.html#REST-Consuming
the problem is that every GET request you send creates a new consumer.
You need to:
a) keep session between requests, as explained in the article above
b) or, use clientId param in your call, like
http://localhost
Last note. I can post to this queue just fine via http. Its just dequeueing
giving me a problem.
Any ideas would be great.
>>>
OK here is whats happening
I queue 5 items
I can read the queue twice. via http.
http://localhost:8080/demo/message/abc?&type=q
OK here is whats happening
I queue 5 items
I can read the queue twice. via http.
http://localhost:8080/demo/message/abc?&type=queue
Then I can not read the queue unless I kill and restart ActiveMQ.
Mystery to me folks the error I get
By checking here I can see an error.
http://localhost:8