camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tushmish <>
Subject Camel RabbitMQ from 2.12 snapshot - missing parameter type:direct
Date Tue, 27 Aug 2013 04:51:00 GMT

I am trying to use RabbitMQ component from Camel 2.12 Snapshot. I am trying
to read messages from queue into camel exchange.

Route definition

<route id="getMessageFromBroker">
			<bean ref="rabbitMQProcessor"
			<to uri="http4://"/>

getMessageFromBroker -> where the message body is read.

In RabbitMQ - using Web Management console, 
Exchange - myExchange has been created. with type = direct, durable = true.
Queue - myQueue has been created and binded to myexchange with routingKey =

However, on loading the camel context, I get this error.
channel error; reason: {#method<channel.close>(reply-code=406,
reply-text=PRECONDITION_FAILED - cannot redeclare exchange 'myExchange' in
vhost '/' with different type, durable, internal or autodelete value,
class-id=40, method-id=10), null, ""}

The error is self explicable. But I am not redeclaring myExchange here. I
looked at the Options section here -
But I do not find an option for 'type'. May this be the problem ?

What am I missing ? 

Thanks for your time.


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message