This set of samples demonstrate the use of JMS APIs with Message Broker to publish and subscribe messages.
When creating a JMS connection to a queue or a topic using a sample JMS client, a single javax.jmx.Connection
can handle only 256 JMS sessions. If this limit is exceeded, the following error occurs: "Unable to create session, the maximum number of sessions per connection is 256. You must either close one or more sessions or increase the maximum number of sessions available per connection."
Find the source code used in the samples in <PRODUCT_HOME>/samples
.