Sending Message to ActiveMQ Topic Using AJAX

2014-10-22 Thread absaar
I am using JavaScript library i.e. amq.js for sending/receiving messages to a Topic on ActiveMQ. I am successfully been able to listen the messages published on a particular topic and process them in messageListener using amq.js. I need to send a message using amq.js to topic in the following form

Sending Message to ActiveMQ Topic Using AJAX (amq.js)

2014-10-14 Thread absaar
I am trying JavaScript library i.e. amq.js for sending messages to a Topic on ActiveMQ. I am successfully able to listen the messages published on a particular topic and process them in messageListener using amq.js. I need to send a message using amq.js to topic in the following format:

Re: Problem Subscribing to AMQ Topic using amq.js

2014-09-09 Thread absaar
Turned out everything was fine except the application server I was using i.e. *Tomcat*. For this thing to work I had to change application server from /tomcat/ to *Jetty v9.1.5.* -- View this message in context: http://activemq.2283324.n4.nabble.com/Problem-Subscribing-to-AMQ-Topic-using-amq-js

Re: Problem Subscribing to AMQ Topic using amq.js

2014-08-22 Thread absaar
In my code of web.xml given in the screen shot, the last servlet was commented, now when I removed the comments i received the following error: *FAIL - Deployed application at context path /FinesseConsumer but context failed to start C:\FinesseConsumer\nbproject\build-impl.xml:1052: The module has

Installing AJAX Servlet for using ActiveMQ

2014-08-21 Thread absaar
- I have a confusion about installing an AJAX servlet, so I simply created a web.xml file in my java web application project and assumed that servlet is installed. AMQ web and amq complete jars are included in the web project. is it correct or am I suppose to do other configurations to make this wo

Re: Problem Subscribing to AMQ Topic using amq.js

2014-08-20 Thread absaar
When uri : 'amq' request was sent to : localhost:8080/FinesseConsumer/amq . now with uri : '/amq' request is sent to : localhost:8080/amq . In both scenarios i am getting same error i.e : 404 error. As per my knowledge ActiveMQ is running on localhost:8161. So is there any implication of cross do

Re: Problem Subscribing to AMQ Topic using amq.js

2014-08-20 Thread absaar
After trying this, i am still getting the same error. Can you please guide me a bit that what exactly are the meanings of installing AJAX servlet. As per my understanding i have simply created a web.xml file in my java web application project. am i required to do more configuration to make servlet

Re: Problem Subscribing to AMQ Topic using amq.js

2014-08-20 Thread absaar
Thanx for the reply. 404 is unknown resource which means that my request is unable to find the target. My confusion is that: Do I need to host my web application at some particular location i.e. app server or is it alright to host it at any location, to access the running ActiveMQ server via A

Problem Subscribing to AMQ Topic using amq.js

2014-08-20 Thread absaar
I have two modules of an application written in java: - Written in Java and publishes messages to a topic successfully using ActiveMQ - A web application using AMQ's Ajax library I have issues with the AJAX based portion which is subscribing to a topic to receive messages from AMQ topic. I am impl