tree: b127cef5402fa79512e5e216e994ba8428ddbb81 [path history] [tgz]
  1. src/
  2. pom.xml
  3. readme.md
examples/features/standard/client-kickoff/readme.md

Client Kickoff 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 how to kick off a client connected to ActiveMQ using JMX

The example will connect to ActiveMQ Artemis. Using JMX, we will list the remote addresses connected to the broker and close the corresponding connections. The client will be kicked off from ActiveMQ Artemis receiving an exception that its JMS connection was interrupted.