blob: c98fa006b79b827a3c69b4b33da71b25b1e81a2e [file] [log] [blame] [view]
# JMS Context Example
If you have not already done so, [prepare the broker distribution](../../../../README.md#getting-started) 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.