The StompSender class allows to send control messages to SmartBody via ActiveMQ (using the STOMP protocol).
The class assumes default port and password of the ActiveMQ server.
The StompSender requires the stomp.py library (https://github.com/jasonrbriggs/stomp.py).
On most systems, the library can be installed with
pip install stomp.py
To test the code use the testStompSender.py
script.
To monitor the incoming messages you can use the stomp
command that is part of stomp.py:
e.g.
cd c:\Python27\Scripts
..\python.exe stomp
subscribe /topic/DEFAULT_SCOPE
`