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

JMS Shared Consumer 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.