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

unacceptable_type,longstr error if we set 'arg.queue.x-single-active-consumer=true in rabbitmq endpoint url

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4.0
    • Fix Version/s: 3.4.3, 3.5.0
    • Component/s: camel-rabbitmq
    • Labels:
      None

      Description

      We are using camel-rabbitmq to create a single-active-consumer.
      to create a single active consumer we need to give a queue arg in endpoint uri as
       &arg.queue.x-single-active-consumer=true

      We get error below error if we set this argument

      Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - invalid arg 'x-single-active-consumer' for queue 'testQ4' in vhost 'vh1': {unacceptable_type,longstr}, class-id=50, method-id=10)

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              devansharora68@gmail.com Devansh Arora
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: