Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7682629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T18:36:43+00:00 2026-05-31T18:36:43+00:00

Iam trying to implement a simple JMS(traditional not using springs) code in eclipse using

  • 0

Iam trying to implement a simple JMS(traditional not using springs) 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 SelectChannelConnector@0.0.0.0: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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T18:36:44+00:00Added an answer on May 31, 2026 at 6:36 pm

    To ensure that you have included all required jars for ActiveMQ, include default activemq-all.jar in your eclipse Project’s buildpath

    ActiveMQ can be started independent of your eclipse environment.

    To answer your questions:-

    (1) In your JMS application use following properties

    java.naming.factory.initial = org.apache.activemq.jndi.ActiveMQInitialContextFactory
    java.naming.provider.url = tcp://localhost:61616
    

    you may use IP address or 127.0.0.1 instead of localhost

    (2) No need to add mq server(broker) in eclipse.

    (3) A simple jms client can run from eclipse run menu given that you have set the Java build path appropriately.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to implement a simple request to Wikipedia's API using AJAX (XMLHttpRequest).
I am trying to implement a simple code tester : a very basic version
I am now trying to implement a simple HTML webpage scraper using Java.Now I
I am trying to implement my persitent classes using interfaces. I have created the
I am trying to implement a simple Observer pattern using .net Observable class. I
I am trying to implement a simple floating navigation using the DOM and Javascript.
I am trying to implement my own memory allocation code which is simple yet
I am trying to implement simple chat application using flex. In it all my
I am trying to implement a simple linked list using c++. I am probably
I am trying to implement a simple chat program in linux using bsd sockets.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.