Sorry, I’ve switched to using the camel & rabbitmq-component version 2.17.3
(latest in maven central repo), and my initial issue does not exist with this
version.
Now I have a slightly different question:
from("rabbitmq://localhost/A?username=guest&password=guest&routingKey=B&threadPoolSize=1&
Thanks Willem.
The documentation says the URI should look like:
rabbitmq://hostname[:port]/exchangeName?[options]
So I do have the exchange name in the URI in my example.
See http://camel.apache.org/rabbitmq.html
Sent from phone
On 21 Sep 2016 1:49 a.m., "Willem Jiang" wrote:
> You should a
You should add the exchangeName parameter to the rabbitmq uri if you don’t want
to specify the message header there.
--
Willem Jiang
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On September 21, 2016 at 5:14:54 AM,
Even you specify the routingKey in the rabbitmq uri, camel cannot find out the
exchange name without checking it from message header.
So you cannot comment out the exchange name setting part.
--
Willem Jiang
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twi