Using ActiveMQ 4.0.2 Web demo sample. Able to send & browse the message via
internet explorer as per the instruction provided by Apache.

But my requirement to receive the message by using JMS stand alone program..

The following steps I have done.

1. Sent the xml message via Html form (queue name is 'myqueue'
2. Able to browse the same in IE
3. Written jms program and connection details are

        ActiveMQConnectionFactory factory = new
ActiveMQConnectionFactory("vm://localhost");
        ActiveMQQueue subQueue = new ActiveMQQueue("myqueue");

and then tried to receive the message, but not got the posive result.

Then changed the connection detaisl as follows

        ActiveMQConnectionFactory factory = new
ActiveMQConnectionFactory("tcp://localhost:61616");
        ActiveMQQueue subQueue = new ActiveMQQueue("myqueue");

Still there is no result.

Does anyone have an idea about how to receive the message through my
standalone jms program (but messaes are sending through html form given by
Web-demo example)

Appreceiate If I get any inputst.



  

-- 
View this message in context: 
http://www.nabble.com/java-client-program-for-Web-Demo-tf3291170s2354.html#a9154222
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to