0

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

prassee
  • 3,651
  • 6
  • 30
  • 49

3 Answers3

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

You can try

  • ActiveMQ
  • Qpid
  • RabitMQ
Alexis Pigeon
  • 7,423
  • 11
  • 39
  • 44
AlexR
  • 114,158
  • 16
  • 130
  • 208
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