[
https://issues.apache.org/jira/browse/CAMEL-14307?focusedWorklogId=361467&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-361467
]
ASF GitHub Bot logged work on CAMEL-14307:
------------------------------------------
Author: ASF GitHub Bot
Created on: 19/Dec/19 16:00
Start Date: 19/Dec/19 16:00
Worklog Time Spent: 10m
Work Description: rvanderhallen commented on pull request #3428:
CAMEL-14307: allow empty routing key when declaring RabbitMQ dead let…
URL: https://github.com/apache/camel/pull/3428
CAMEL-14307: allow empty routing key when declaring RabbitMQ dead letter
exchange
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 361467)
Time Spent: 0.5h (was: 20m)
> camel-rabbitmq - unable to set empty routing key when declaring DLX
> -------------------------------------------------------------------
>
> Key: CAMEL-14307
> URL: https://issues.apache.org/jira/browse/CAMEL-14307
> Project: Camel
> Issue Type: Improvement
> Components: camel-rabbitmq
> Affects Versions: 2.22.1, 2.24.2
> Reporter: Robin Vanderhallen
> Priority: Major
> Attachments: RabbitMQDeadLetterRoutingKeyIntTest.java
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The Camel RabbitMQ endpoint does not allow to set an empty routing key when
> configuring a dead letter exchange:
> {quote}[error] <0.664.0> Channel error on connection <0.649.0>
> (192.168.224.3:55000 -> 192.168.224.2:5672, vhost: '/', user: 'rabbitmq'),
> channel 1:
> operation queue.declare caused a channel exception precondition_failed:
> inequivalent arg 'x-dead-letter-routing-key' for queue 'testqueue' in vhost
> '/': received the value 'undefined' of type 'void' but current is none
> {quote}
> This is required if you want to keep the original routing key on the message
> when it is sent to the dead letter queue.
> When setting the deadLetterRoutingKey property to an empty value, the error
> doesn't appear but the original routing is lost.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)