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

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.0
    • 3.4.3, 3.5.0
    • camel-rabbitmq
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: