Issue with RabbitMQ Intermediate Catch Event in Camunda 8: Message Not Triggering Process

Title:

Issue with RabbitMQ Intermediate Catch Event in Camunda 8: Message Not Triggering Process


Post Message:

Hello everyone,

I am facing an issue with the RabbitMQ Intermediate Catch Event Connector in Camunda 8.

Issue Description:

  1. What works:

    • RabbitMQ is set up and successfully receives messages. I verified the message delivery through the RabbitMQ management interface.
    • A message is sent using a PHP script and is visible in the camunda-queue.
  2. What doesn’t work:

    • Even though the message arrives in RabbitMQ, the Camunda process does not proceed beyond the Intermediate Catch Event.
    • In Camunda Operate, the process is stuck, waiting for the message at the Intermediate Catch Event.
  3. Configuration Details:

    • Message Name (messageName): b99062c1-9dd0-4539-b272-343904591654
    • Correlation Key (correlationKey): myProcessKey
    • Message Payload (JSON):
      {
        "messageName": "b99062c1-9dd0-4539-b272-343904591654",
        "correlationKey": "myProcessKey",
        "variables": {
          "exampleVariable": "exampleValue"
        }
      }
      
  4. Debugging Steps:

    • There are no errors in the RabbitMQ or Zeebe logs, except for a warning:
      WARN ZeebeCallCredentials: The request's security level does not guarantee that the credentials will be confidential.
      
    • I tried using curl inside the Zeebe container to test connectivity with RabbitMQ, but encountered issues installing curl.
  5. My Assumptions:

    • The issue might be related to the correlation keys or configuration of the BPMN diagram event. I’ve double-checked the parameters, but the process remains stuck.

Questions:

  • How can I properly validate that the messageName and correlationKey are matching between RabbitMQ and Camunda?
  • Could the security warning about credentials impact the message delivery?
  • What other troubleshooting steps would you recommend to ensure RabbitMQ and Camunda communicate correctly?

Thank you in advance for any advice or suggestions!

Hi @Sarvar,

Thank you for your question. Could you post the RabbitMQ configuration, especially the 2 correlation keys (process and payload).
The security warning has no impact here.

Thank you,
Jonathan

image1:

image2:

image3:

image4:

image5:

image6:

Hi @jroques I uploaded all my images from. Please check.

Indeed, this configuration is incorrect.

Please have a look at the RabbitMQ Connectors configuration.

In your case it might be:

  • Correlation key(process): this looks OK
  • Correlation key(payload): =message.body.correlationKey , without the “correlationKey” JSON parameter.

Then it should be fine :slight_smile:

image7:

image8:

Process doesn’t work :cry:

I think the payload is incorrect.

Could you try using:

{
  "correlationKey": "myProcessKey",
  "someVariable": "someValue"
}

without the message and body part

Thank you very much! Working! :100: :sunglasses:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.