You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Devansh Arora (Jira)" <ji...@apache.org> on 2020/07/30 12:00:00 UTC

[jira] [Comment Edited] (CAMEL-15355) unacceptable_type,longstr error if we set 'arg.queue.x-single-active-consumer=true in rabbitmq endpoint url

    [ https://issues.apache.org/jira/browse/CAMEL-15355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17167850#comment-17167850 ] 

Devansh Arora edited comment on CAMEL-15355 at 7/30/20, 11:59 AM:
------------------------------------------------------------------

Also as mentioned in camel-rabbitmq document
 [https://camel.apache.org/components/latest/rabbitmq-component.html#_query_parameters_64_parameters]

using queueargs parameter gives below error

*Unknown parameters=[\\{queueargs=arg.queue.x-single-active-consumer=true}]*

 


was (Author: devansharora68@gmail.com):
Also as mentioned in camel-rabbitmq document
[https://camel.apache.org/components/latest/rabbitmq-component.html#_query_parameters_64_parameters]

using queueargs parameter gives below error

Unknown parameters=[\{queueargs=arg.queue.x-single-active-consumer=true}]

 

> unacceptable_type,longstr error if we set  'arg.queue.x-single-active-consumer=true in rabbitmq endpoint url
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-15355
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15355
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-rabbitmq
>    Affects Versions: 3.4.0
>            Reporter: Devansh Arora
>            Priority: Minor
>
> 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)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)