I would like to know if there is any open source light-weight JMS API which can be embedded right in to my web application
Asked
Active
Viewed 576 times
3 Answers
0
The easiest solution would be to embed the JVM broker in the applications' JVM. This way the JMS broker would start and stop with your application.
For example for ActiveMQ check the following links:

Mike Argyriou
- 1,250
- 2
- 18
- 30
0
Any Java-based implementation will most probably satisfy your needs. See this question for some options (or just a Google search).
In order to make it "lightweight", be sure to turn off persistence and just stick to pure in-memory mode.
Disclaimer: turning off persistance will mean that you will lose all your messages when JVM exits. However, as you are looking for a lightweight solution, this should not be an issue in your case.

Community
- 1
- 1

Neeme Praks
- 8,956
- 5
- 47
- 47