| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <html> |
| <head> |
| <title>ActiveMQ Artemis Stomp 1.1 Example</title> |
| <link rel="stylesheet" type="text/css" href="../../../common/common.css" /> |
| <link rel="stylesheet" type="text/css" href="../../../common/prettify.css" /> |
| <script type="text/javascript" src="../../../common/prettify.js"></script> |
| </head> |
| <body onload="prettyPrint()"> |
| <h1>Stomp 1.2 Example</h1> |
| |
| <pre>To run the example, simply type <b>mvn verify</b> from this directory, <br>or <b>mvn -PnoServer verify</b> if you want to start and create the server manually.</pre> |
| |
| |
| <p>This example shows you how to configure ActiveMQ Artemis to send and receive Stomp messages using Stomp 1.2 protocol.</p> |
| <p>The example will start a ActiveMQ Artemis server configured with Stomp and JMS.</p> |
| <p>The client will open a socket to initiate a Stomp 1.2 connection and then send one Stomp message (using TCP directly). |
| The client will then consume a message from a JMS Queue and check it is the message sent with Stomp.</p> |
| </body> |
| </html> |