:orphan: .. **************************************************************************** .. CUI//REL TO USA ONLY .. .. The Advanced Framework for Simulation, Integration, and Modeling (AFSIM) .. .. The use, dissemination or disclosure of data in this file is subject to .. limitation or restriction. See accompanying README and LICENSE for details. .. **************************************************************************** ActiveMQ -------- Overview ======== ActiveMQ is the middleware in charge of handling OMS_UCI messages. Running ActiveMQ ================ To download ActiveMQ, go to `https://activemq.apache.org/components/classic/download/` and select the desired version. Once downloaded, follow the instructions located here: `https://activemq.apache.org/getting-started`. These instructions describe the steps to run ActiveMQ. .. note:: ActiveMQ must be started before the plugin can be used. Connecting ActiveMQ to a Simulation =================================== To connect a simulation to ActiveMQ, a Reference CAL configuration file is required. The CAL configuration file is set using the environment variable CAL_ACTIVEMQ_CONFIG. This file configures all platform and component Universally Unique Identifiers (UUIDs), so the simulation can send messages/commands to the correct platforms, sensors, etc. Example configuration file: .. parsed-literal:: tcp://127.0.0.1:61616 1 1000 1000 .. warning:: Every platform that can communicate using UCI must have a corresponding Service block in the ServiceList.