Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
See CAMEL-12324
We should not let rabbitmq.EXCHANGE_NAME be used as the override destination for the producer. As this can lead to the problem with
from foo
to bar
Will route foo -> foo instead.
So if the end user want to use a header to route to another destination that configured in the endpoint uri, you would need to use some other header for that, so rabbitmq.EXCHANGE_NAME becomes "read-only" and dont affect anything. This is also how JMS component works etc.
Attachments
Issue Links
- is related to
-
CAMEL-12324 Issue:Camel rabbitmq publishes message to consumer exchange instead of publisher exchange
- Closed