camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Rosenberg <Justin.Rosenb...@crlcorp.com>
Subject RE: How to handle exception within consumer?
Date Wed, 03 Jun 2015 20:55:50 GMT
In my experience some of these exceptions are swallowed by the consumer and logged as a warning.
 Here is some more information http://camel.apache.org/polling-consumer.html#PollingConsumer-Abouterrorhandlingandscheduledpollingconsumers

http://camel.apache.org/polling-consumer.html#PollingConsumer-ControllingtheerrorhandlingusingPollingConsumerPollStrategy
discusses how you can change this default behavior.


~Justin


-----Original Message-----
From: Ravindra Godbole [mailto:godbolerr@gmail.com] 
Sent: Wednesday, June 03, 2015 3:15 PM
To: users@camel.apache.org
Subject: Re: How to handle exception within consumer?

Have you tried catching RuntimeCamelException while making a call.

http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/ConsumerTemplate.html

CONFIDENTIALITY NOTICE:
The information in this message, and any attachment, is intended for the 
sole use of the individual and entity to whom it is addressed. This 
information may be privileged, confidential, and protected from 
disclosure. If you are not the intended recipient you are hereby notified 
that you have received this communication in error and that any review, 
disclosure, dissemination, distribution or copying of it, or its contents, 
is strictly prohibited. If you think that you have received this message 
in error please notify the sender and destroy all copies of this 
communication and any attachments. Thank you.
Mime
View raw message