Search

Home

Home

Automatic Invocation via RabbitMQ Message Reception

Automatic invocation triggered by receiving a message from a RabbitMQ broker is performed in the following steps:

  1. Start the Gravity.exe application.
  2. Create a project (the PROJECTS option). A project triggered by this type of trigger should, by design, have at least one input parameter.
  3. Add a RabbitMQ-type trigger (the TRIGGERS option), select the server connection, the queue to listen to, and the parameter to which the message will be passed.
  4. Start the GravityTriggersRunner.exe server application or restart the gravity.integration service.

The process is triggered when the message server sends a message from the queue to the client (consumer), which in this case is the GRAVITY system. The message is received by the GRAVITY system (the client) and passed as a process parameter to the process specified in the trigger definition. After the process completes, an acknowledgment of message processing is sent back to the server, depending on the configuration.