On 09/24/2012 02:30 AM, Mark Webb wrote:
I am working on getting Apache Camel 2.10.0 working with RabbitMQ. Has anyone gotten this to work, and could you please post your Camel context route. I am running into problems getting a message to pass from Camel -> RabbitMQ -> Camel. Here's the error I am currently running in to:Thread-6] AMQConnection INFO Closing AMQConnection due to :org.apache.qpid.AMQChannelClosedException: Error: PRECONDITION_FAILED - cannot redeclare exchange 'amq.direct' in vhost '/test' with different type, durable, internal or autodelete value [error code 406: In use] I have a vhost defined ("/test") in RabbitMQ and from what I can tell this error message states that I am trying to change the attributes of an existing exchange but I'm not, I don't even see where I can do this or how I would do this.
Unfortunately that is a defect that has come several times in the past[1]. The good news is that it has at last been fixed on trunk (though not yet in any released version). See https://issues.apache.org/jira/browse/QPID-4250 for details of the change.
[1] Most recently in http://mail-archives.apache.org/mod_mbox/qpid-users/201208.mbox/%[email protected]%3E where some of the responses[2][3], may be of interest.
[2] http://mail-archives.apache.org/mod_mbox/qpid-users/201208.mbox/%3ccafitrprwyt0n1pckldniqyrhoj_2xixzbhpwo1crgzjomyg...@mail.gmail.com%3E
[3] http://mail-archives.apache.org/mod_mbox/qpid-users/201208.mbox/%3CCAFitrpRtdDn5s5nNb+T-_OCYxC39WeN-h9C5OMLDjr7eNf4=b...@mail.gmail.com%3E
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
