|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.camel.component.FailureResistentExceptionHandlerProcessor
public class FailureResistentExceptionHandlerProcessor
Camel processor for error handling which is resistent to failures.
Let's assume a route like the following:
from("file:///a?delete=true").to("file:///b");
onException(Throwable.class).handled(true).to("file:///data/error");
/data/error folder is not accessible, the
onException clause will stop; but will have set
handled to true. As a result, the file will be
LOST./a stays there after the failure (as a
result, stays "not processed yet").
| Constructor Summary | |
|---|---|
FailureResistentExceptionHandlerProcessor(java.lang.String destination)
|
|
| Method Summary | |
|---|---|
void |
process(org.apache.camel.Exchange exchange)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FailureResistentExceptionHandlerProcessor(java.lang.String destination)
| Method Detail |
|---|
public void process(org.apache.camel.Exchange exchange)
throws java.lang.Exception
process in interface org.apache.camel.Processorjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||