Skip to content

clementselvaprasath/camel_activemq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

1. mvn package
2. Deploy / copy the war file to apache web-apps folder
3. Start the ActiveMQ
4. Configure 2 queues
5. start the apache server
6. See the message populating in ActiveMQ queue




Embedded ActiveMQ Broker with Camel running in Apache Tomcat
============================================================

This example shows how you can embed Apache ActiveMQ Broker
and Camel in a web application,
which can run on Apache Tomcat or other web containers.

You will need to build this example first:
  mvn install
  
Which will create a .war file in the target directly.

You can then deploy this .war file in any web container such as
Apache Tomcat, by copying the .war file to its /webapp directory.

This example embeds ActiveMQ Broker and a Camel application
which will continuously send a message per second to an inbox queue.
Then another Camel route will route messages from the inbox
to the outbox queue.

This example is documented at
  http://camel.apache.org/activemq-camel-tomcat.html

The ActiveMQ broker is configured in the src/main/resources/broker.xml file.
And the Camel application in the src/main/resources/camel-context.xml file.

If you hit an problems please let us know on the Camel Forums
  http://camel.apache.org/discussion-forums.html

Please help us make Apache Camel better - we appreciate any feedback you may
have.  Enjoy!

------------------------
The Camel riders!

About

Sample on Apache ActiveMQ Broker and Camel in a web application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published