Re: ActiveMQ AJAX Problems

2010-05-04 Thread rbraddy
What is Fiddler? -- View this message in context: http://old.nabble.com/ActiveMQ-AJAX-Problems-tp28287864p28456344.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ AJAX Problems

2010-04-29 Thread Dejan Bosanac
Hey, no without further debugging. You might want to turn debug logging and gather more info on what's going on. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.ne

Re: ActiveMQ AJAX Problems

2010-04-29 Thread magellings
Hello. Does anyone have any idea why we'd be getting the exception when posting from Fiddler? -- View this message in context: http://old.nabble.com/ActiveMQ-AJAX-Problems-tp28287864p28401870.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ AJAX Problems

2010-04-23 Thread magellings
Thanks for your response Dejan. This makes sense regarding the Ajax call, and we'll look into this further. Do you have any idea why we'd be getting the exception when posting from Fiddler? The request is clearly making it to the ActiveMQ host in that case as the stack trace shows. Dejan Bosa

Re: ActiveMQ AJAX Problems

2010-04-23 Thread Dejan Bosanac
Hi, it looks to me that you're trying to access the server on another host. Bear in mind that Ajax employs same-origin policy and that you need to use some kind of cross-domain mechanism to make it work. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesou

Re: ActiveMQ AJAX Problems

2010-04-22 Thread magellings
http://sxdevweb1.qg.com:8099/shared/cache/jquery/142/jquery-1.4.2.js";> http://sxdevweb1.qg.com:8099/shared/cache/jquery-ui/172/jquery-ui-1.7.2.js";> amq = org.activemq.Amq; amq.init({ uri: 'http://wamq

Re: ActiveMQ AJAX Problems

2010-04-22 Thread Dejan Bosanac
Hi, can you post your JavaScript code that is not working for you? Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Thu, Apr 22, 2010 at 4:23 PM, magelling

Re: ActiveMQ AJAX Problems

2010-04-22 Thread magellings
Dejan according to the latest MEAP of ActiveMQ in Action section 9.4.2 Example 9.25 you should be able to produce messages from Ajax. I'd like to be able to produce a message from javascript in order to verify the system is working appropriately. Then I can work on consuming messages with the Aj

Re: ActiveMQ AJAX Problems

2010-04-21 Thread Dejan Bosanac
Hi Mark, if you don't actually use Ajax to send messages, you should use REST API ( http://activemq.apache.org/rest.html) curl -d 'body=message' http://localhost:8161/demo/message/t1?type=topic This doesn't stop you from consuming your messages using Ajax however. Cheers -- Dejan Bosanac - http