Author: davsclaus
Date: Wed Apr 18 11:45:26 2012
New Revision: 1327456
URL: http://svn.apache.org/viewvc?rev=1327456&view=rev
Log:
CAMEL-5178: File consumer should use exception handler to handle all component
specific exceptions. Add example how to plugin a custom exception handler and
send that to a Camel route so Camel routing onException can deal with the
exception. Reduce the out of the box logging exception handler to WARN level.
Modified:
camel/branches/camel-2.9.x/ (props changed)
camel/branches/camel-2.9.x/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerCustomExceptionHandlerTest.java
Propchange: camel/branches/camel-2.9.x/
------------------------------------------------------------------------------
Merged /camel/trunk:r1327450
Propchange: camel/branches/camel-2.9.x/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.
Modified:
camel/branches/camel-2.9.x/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerCustomExceptionHandlerTest.java
URL:
http://svn.apache.org/viewvc/camel/branches/camel-2.9.x/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerCustomExceptionHandlerTest.java?rev=1327456&r1=1327455&r2=1327456&view=diff
==============================================================================
---
camel/branches/camel-2.9.x/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerCustomExceptionHandlerTest.java
(original)
+++
camel/branches/camel-2.9.x/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerCustomExceptionHandlerTest.java
Wed Apr 18 11:45:26 2012
@@ -85,7 +85,7 @@ public class FileConsumerCustomException
}
};
}
- // END SNIPPET: e1
+ // END SNIPPET: e2
// START SNIPPET: e1
/**