tree: 4151ea52ad248aa082c4597c510bdcdd08c96a36 [path history] [tgz]
  1. src/
  2. pom.xml
  3. readme.md
examples/features/standard/context/readme.md

JMS Context 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 to send and receive a message to a JMS Queue using ActiveMQ Artemis by using a JMSContext.

A JMSContext is part of JMS 2.0 and combines the JMS Connection and Session Objects into a simple interface.