To run the example, simply type mvn verify -Pexample from this directory.
This example shows you how to configure ActiveMQ Artemis to intercept received Stomp messages.
The example will start a ActiveMQ Artemis server configured with Stomp and JMS.
The client will open a socket to initiate a Stomp 1.2 connection and then send one Stomp message (using TCP directly). The interceptor will print each message received.