DIY model

Configuring and running agents

To configure and run agents in a developer toolkit environment using the Docker Compose script, add queues and then configure and run the agent servers.

Procedure

  1. Ensure that you have a copy of the extracted runtime as described in Step 1 of Updating custom extensions in a containerized environment.
  2. On the host machine, add mqserver as a localhost in your /etc/hosts file.
  3. By default, the following Dev queues are created during setup and the bindings are automatically updated.
    DEV.QUEUE.1, DEV.QUEUE.2, DEV.QUEUE.3, similarly, up to DEV.QUEUE.10.

    You can use these queues for all your development needs. If you need to create more queues, then log into the MQ Explorer and create a new queue, and then run the following command:
    ./om-compose.sh update-mq-bindings <new_queue_name>

  4. Configure and run agent servers.
    Use the following criteria to configure an agent by using the Applications Manager:
    Criteria Value
    JMS Queue Name Any Queue. For example, DEV.QUEUE.1
    QCF Lookup AGENT_QCF
    Initial Context Factory File
    Provider URL

    If you are not overriding the MQ_JNDI_DIR property, your PROVIDER_URL is file:///var/oms/jndi

    If you have overridden the MQ_JNDI_DIR property, then your Provider URL becomes file://<MQ_JNDI_DIR>

    For more information, see Specifying a transaction as time-triggered.

    Go to your extracted <host_runtime>/bin directory and run the agent server.