2019-09-23 11:19:42 -04:00
..
2018-03-01 14:58:56 -06:00
2018-03-01 14:58:56 -06:00

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.