Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Patch Available
-
Novice
Description
When an exception occurs in the ResponseHandler an error is logged AND the exception is then wrapped in a CamelExchangeException and re-thrown.
So if I choose to handle certain exceptions in my route I still get an error in the logs.
As long as Mina2Producer throws these exceptions there's no need to log an error (or anything actually) in my opinion.
Do you agree that the "LOG.error("Exception on receiving message from address ..." line can be removed?
Attachments
Issue Links
- links to