Connect to ActiveMQ

I’d like to send and receive messages from topics and/or queues from an Apache ActiveMQ server.
How can i do this?

@Oliver Geisen , Are you connecting to the message server using MQTT? If so look at the project developed by Zaatar Digital on github. https://github.com/zaatardigital/mqttlib-demo

I have tested the library with XOJO Desktop as well as Xojo Web and it works well for what I wanted to do.