Apart from using the simple ActiveMQ-7 MQTT instance available in the Simple Artemis.

The java jms example in

By Brand Of Waiver

Example jms using / Extract java example using this