Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.0.1, 3.2.0
-
None
-
Camel 3.2.0 (orginally 3.0.1)
Spring Boot 1.3.5RELEASE
FasterXML Jackson 2.6.6
Eclipse Jetty 9.2.16.v20160414
-
Unknown
Description
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.
Attachments
Issue Links
- relates to
-
CAMEL-15065 camel-endpointdsl - Add support for multi value
- Resolved