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

michael elbaz edited comment on CAMEL-14242 at 12/2/19 4:52 PM:
----------------------------------------------------------------

Are you trying by yourself ? when i use bindingArgs camel say that is doesn't 
exist 


{code:java}
Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve 
endpoint: rabbitmq://demo-input?bindingArgs=test&queue=ged-input due to: 
rabbitmq://demo-input?bindingArgs=test&queue=demo-input due to: There are 1 
parameters that couldn't be set on the endpoint. Check the uri if the 
parameters are spelt correctly and that they are properties of the endpoint. 
Unknown parameters=[{bindingArgs=test}]
{code}



was (Author: michael992):
Are you trying by yourself ? when i use bindingArgs camel say that is doesn't 
exist 


{code:java}
rabbitmq://demo-input?bindingArgs=test&queue=demo-input due to: There are 1 
parameters that couldn't be set on the endpoint. Check the uri if the 
parameters are spelt correctly and that they are properties of the endpoint. 
Unknown parameters=[{bindingArgs=test}]
{code}


> Binding parameters is not possible
> ----------------------------------
>
>                 Key: CAMEL-14242
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14242
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-rabbitmq
>    Affects Versions: 3.0.0
>            Reporter: michael elbaz
>            Priority: Major
>
> I can' use some rabbitMq parameter eg: *x-max-priority* please provide an 
> working exemple. 
> It was before possible doing that using deprecated parameter 
> *&queueArgsConfigurer=#rabbitMqQueueArgsConfigurer*  
> {code:java}
> @Bean("rabbitMqQueueArgsConfigurer")
> public ArgsConfigurer rabbitMqQueueArgsConfigurer() {
>     return map -> map.put("x-max-priority", 10);
> }
> {code}
> See this one:
> [https://stackoverflow.com/a/44651087/4271976|https://stackoverflow.com/a/44651087/4271976]



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

Reply via email to