activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tapaswini.sabat" <tapaswini.saba...@gmail.com>
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:






</head>
</html>


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?

Thanks 
Tapaswini



--
View this message in context: http://activemq.2283324.n4.nabble.com/Problem-with-Ajax-API-tp3155676p4661152.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message