Re: Problems with configuring and using ActiveMQ with http

2010-09-10 Thread ChicagoBob123
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

Re: Problems with configuring and using ActiveMQ with http

2010-09-10 Thread Dejan Bosanac
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

Re: Problems with configuring and using ActiveMQ with http

2010-09-09 Thread ChicagoBob123
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

Problems with configuring and using ActiveMQ with http

2010-09-09 Thread ChicagoBob123
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