You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "muthukumaran.m@gmail.com" <mu...@gmail.com> on 2014/03/27 15:49:34 UTC

Re: camel-rabbitmq

Hi Willem,

As I removed all of the rabbitmq headers using this pattern "rabbitmq.*",
This ended up removed "rabbitmq.CONTENT_TYPE"  and this is causing trouble
in converting the message to a Java Object on the consumer.

Instead of removing all the rabbitmq headers, is there one or two specific
rabbitmq headers which causes Camel to keep sending same message to the 
general.queue? 

If so I will exclude only that particular header.

Thanks,
Muthu



--
View this message in context: http://camel.465427.n5.nabble.com/camel-rabbitmq-routing-issue-tp5744371p5749441.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-rabbitmq

Posted by "muthukumaran.m@gmail.com" <mu...@gmail.com>.
Thank you Willem. After upgrading to 2.13.0 and adding BridgeEndpoint=true to
the URI solved this issue.

I ended up using "addresses" as we have 2 RabbitMQ in a cluster.

Thanks,
Muthu



--
View this message in context: http://camel.465427.n5.nabble.com/camel-rabbitmq-routing-issue-tp5744371p5749588.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-rabbitmq

Posted by Willem Jiang <wi...@gmail.com>.
Hi,

If you use camel 2.13.0, you can specify the option of BridgeEndpoint=true, then camel rabbitmq can ignore the message header which are set by camel rabbitmq consumer.

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On March 27, 2014 at 10:50:06 PM, muthukumaran.m@gmail.com (muthukumaran.m@gmail.com) wrote:
> Hi Willem,
>  
> As I removed all of the rabbitmq headers using this pattern "rabbitmq.*",
> This ended up removed "rabbitmq.CONTENT_TYPE" and this is causing trouble
> in converting the message to a Java Object on the consumer.
>  
> Instead of removing all the rabbitmq headers, is there one or two specific
> rabbitmq headers which causes Camel to keep sending same message to the
> general.queue?
>  
> If so I will exclude only that particular header.
>  
> Thanks,
> Muthu
>  
>  
>  
> --
> View this message in context: http://camel.465427.n5.nabble.com/camel-rabbitmq-routing-issue-tp5744371p5749441.html  
> Sent from the Camel - Users mailing list archive at Nabble.com.
>