Re: How to get route Exception in a processor with camel+rabbitmq

2019-11-19 Thread Alessandro Hoss
In ActiveMQ component there is a "transferExchange" URI parameter, which makes possible to get the exception after sending it to another queue through activemq. Is there a way of doing this (transfer the exchange over the messaging layer) with RabbitMQ? Em qua., 13 de nov. de 2019 às 17:45, Aless

Re: How to get route Exception in a processor with camel+rabbitmq

2019-11-13 Thread Alessandro Hoss
Hi .. "myExchange" is not the queue name... When working with rabbitmq, you always send the message to a "RabbitMQ Exchange", which redirects it to some queue based on the routingKey (which is defined on the creation of the queue)... quite complex, but RabbitMQ component has different concepts tha

Re: How to get route Exception in a processor with camel+rabbitmq

2019-11-13 Thread WEIQUAN YUAN
why your from queue name is same as to queue name? On Wed, Nov 13, 2019 at 9:10 AM Alessandro Hoss wrote: > Hello guys, > > I've a route with onException, which sends the message to rabbitMQ, and > another route listening rabbit to call a processor and get the exception > thrown. I'm able to rea

How to get route Exception in a processor with camel+rabbitmq

2019-11-13 Thread Alessandro Hoss
Hello guys, I've a route with onException, which sends the message to rabbitMQ, and another route listening rabbit to call a processor and get the exception thrown. I'm able to reach this processor, but i'm not able to get the exception thrown. I've tried with the property set to false, and with