Unable to implement JMS using ApacheMQ

Posted by Galaxin on Stack Overflow See other posts from Stack Overflow or by Galaxin
Published on 2012-03-23T17:07:24Z Indexed on 2012/03/23 17:29 UTC
Read the original article Hit count: 228

Filed under:
|
|

Iam trying to implement a simple JMS code in eclipse using ApacheMQ.

I have downloaded the ApacheMQ from apache.org and sample JMS sender from SimpleQueueSender and receiver from SimpleQueueReceiver respectively.

Now how should i execute this code? I have already gone through all related tutorials but couldnot find answers to these questions.

Please suggest solutions on

  1. What all are the changes to be done regarding classpaths,settings after the activemq is started as below

INFO | jetty-7.1.6.v20100715 INFO | ActiveMQ WebConsole initialized. INFO | Initializing Spring FrameworkServlet 'dispatcher' INFO | ActiveMQ Console at http://0.0.0.0:8161/admin INFO | ActiveMQ Web Demos at http://0.0.0.0:8161/demo INFO | RESTful file access application at http://0.0.0.0:8161/fileserver INFO | Started [email protected]:8161

how to proceed next?

2.Should this server be added in the eclipse as a new server and then the program is run on that server?

3.Can these programs be run from eclipse or should they executed from a separate console?

© Stack Overflow or respective owner

Related posts about java

Related posts about jms