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

camel-rabbitmq - unable to set empty routing key when declaring DLX

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.22.1, 2.24.2
    • Fix Version/s: 3.0.1, 2.25.0, 3.1.0
    • Component/s: camel-rabbitmq
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      The Camel RabbitMQ endpoint does not allow to set an empty routing key when configuring a dead letter exchange:

      [error] <0.664.0> Channel error on connection <0.649.0> (192.168.224.3:55000 -> 192.168.224.2:5672, vhost: '/', user: 'rabbitmq'), channel 1:
      operation queue.declare caused a channel exception precondition_failed: inequivalent arg 'x-dead-letter-routing-key' for queue 'testqueue' in vhost '/': received the value 'undefined' of type 'void' but current is none

      This is required if you want to keep the original routing key on the message when it is sent to the dead letter queue.
      When setting the deadLetterRoutingKey property to an empty value, the error doesn't appear but the original routing is lost.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rvanderhallen Robin Vanderhallen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m