You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2020/05/14 13:21:00 UTC

[jira] [Updated] (CAMEL-15062) Cannot express multiple binding parameters in an URI of RabbitMQ

     [ https://issues.apache.org/jira/browse/CAMEL-15062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-15062:
--------------------------------
    Fix Version/s: 3.4.0

> Cannot express multiple binding parameters in an URI of RabbitMQ
> ----------------------------------------------------------------
>
>                 Key: CAMEL-15062
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15062
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-rabbitmq
>    Affects Versions: 3.0.1, 3.2.0
>         Environment: Camel 3.2.0 (orginally 3.0.1)
> Spring Boot 1.3.5RELEASE
> FasterXML Jackson 2.6.6
> Eclipse Jetty 9.2.16.v20160414
>            Reporter: Eduard Rindt
>            Priority: Minor
>             Fix For: 3.4.0
>
>
> As a Camel client, I need to define binding parameters in an URI that describes a from point of a Camel path. The way suggested by the documentation is not working.
> Following is an example of the URI of a RabbitMQ that fails to set binding parameters:
> {{rabbitmq://rabbitmq.dev.mycompany.net/myExchange?username=guest&password=guest&queue=myQueue&exchangeType=headers&vhost=all&autoAck=false&autoDelete=false&automaticRecoveryEnabled=true&args=arg.binding.country=CZ&args=arg.binding.type=myMessageType&args=arg.binding.x-match=all}}.
> A short look into the code uncovers that the {{RabbitMQEndpointConfigurer}} expects the related 'args' (multi)value be stored in a map, but the URI scanner always encodes multivalues into a list with a (sub)name and a related value kept together in a single string. In turn, the whole 'args' parameter is ignored.



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