Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11031

Use default ("") exchange for reply-to messages

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.18.3
    • Fix Version/s: 2.18.4, 2.19.0
    • Component/s: camel-rabbitmq
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      I'm sending request-reply with:

      Object reply = rabbitTemplate.convertSendAndReceive("testexch", "test", "Ping!");
      

      And consuming with:

      from("rabbitmq://localhost:5672/testexch?routingKey=test")
              .transform(body().append(" Pong!"));
      

      And I'm not getting any reply because camel-rabbitmq publishes replies to specified "testexch" exchange instead of default one ("") as stated in https://www.rabbitmq.com/direct-reply-to.html:

      The RPC server will then see a reply-to property with a generated name. It should publish to the default exchange ("") with the routing key set to this value.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                davsclaus Claus Ibsen
                Reporter:
                hauler Roman Kalashnikov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: