how to run Activemq program in java

i have install activemq 5.5.1 in my c:\programFiles\activemq\...
and from the command prompt i have installed it and set enviroment variable.

and i have also run it. and it is also running on local host.

i have write a java program in my eclipse editor.
and i have added Activiemq library in project form that path.

programm:

http://developers-blog.org/blog/default/2008/10/28/A-simple-ActiveMQ-example

but i am also confuse What the use of that c:\programFiles\activemq... installation how i use it.

I want to only to create my first Activiemq program through java.

plz help

Answers


The installation of ActiveMQ gives you everything you need to run the broker standalone by just running the activemq.bat under the bin directory. It's just a nice way of packaging the application as opposed to just giving you some jar files. If you want to run the broker inside a Java program you just need to include the jars for the broker and you won't need to use the installation directory again.


Need Your Help

Hosted Ext js 4 - Where can i find it and make my pages fetch from there?

javascript css extjs extjs4

I have checked Google Hosted EXT Js and i cannot find EXT JS 4. I would want my web pages to reference the EXT JS 4 from there and not from my local Web server. Any one please get me the full path...

Displaying multiple Highcharts from single json

javascript jquery json highcharts

In this fiddle : http://jsfiddle.net/LLExL/5018/

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.