activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tapaswini.sabat" <>
Subject Re: Problem with Ajax API
Date Fri, 28 Dec 2012 05:01:01 GMT
Hi All,

I'm new to the ActiveMQ field. Am able to create a client,publish and
subscribe the data through websocket. But the same am trying to achieve
through amq. Am not using any java code in my project. can i achieve this by
a js file only ?

my code in the script file is something like this:


Now if i run this code i don't see anything on the browser and on the Chrome
Javascript debugger i get this error : 

XMLHttpRequest cannot load http://localhost:8161/demo/amq. Origin
http://swp.local is not allowed by Access-Control-Allow-Origin.

Can anybody know what might be the problem?


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message