tree: 85a40ccc2a053e5fe8077f0ebd2900e29574d00e [path history] [tgz]
  1. src/
  2. pom.xml
  3. readme.md
examples/features/standard/shared-consumer/readme.md

JMS Shared Consumer Example

If you have not already done so, prepare the broker distribution before running the example.

To run the example, simply type mvn verify from this directory, or mvn -PnoServer verify if you want to start and create the broker manually.

This example shows you how can use shared consumers to share a subscription on a topic. In JMS 1.1 this was not allowed and so caused a scalability issue. In JMS 2 this restriction has been lifted so you can share the load across different threads and connections.