-
Notifications
You must be signed in to change notification settings - Fork 2
ActiveMQ
Dominic Oram edited this page Feb 2, 2018
·
5 revisions
ActiveMQ is a messaging broker that is used in a number of places throughout IBEX. Specifically it is used by:
- The Alarm Server
- The IOC Log Server
- The Script Server Proxy (OUTDATED: Nicos has been updated to use ZeroMQ. These changes have been merged into our latest ISIS Nicos repository, which eliminates the need for an ISIS proxy.)
The GUI also hooks into ActiveMQ to read/write to all these components. Previously a version of ActiveMQ was bundled with each of these backend components. However, this was modified to be a single instance that is run through procserv when the instrument is first started.
The default ActiveMQ ports are:
- 61616 for the openwire protocol (used by JMS)
- 61613 for the STOMP protocol (used by script server)
Due to port conflicts these have been changed to those listed here.
The ports used are hardcoded in a number of places so to change them they must be changed in:
- EPICS\ISIS\ActiveMQ\master\conf\activemq.xml
- EPICS\CSS\master\AlarmServer\alarm_server_settings.ini
- EPICS\ISIS\IocLogServer\master\logserver_config.ini
- EPICS\ISIS\ScriptServer\nicos-core\master\ISIS_script_server\client_connection\Stomp\stomp_connection.py
- Client\base\uk.ac.stfc.isis.ibex.product\plugin_customization.ini
- Client\base\uk.ac.stfc.isis.ibex.activemq\src\uk\ac\stfc\isis\ibex\activemq\ActiveMQ.java
It's hard to put these into a central macro as most of the configuration requires loading *.ini files.