org.apache.camel.processor
Class ThrowFaultProcessor
java.lang.Object
org.apache.camel.processor.ThrowFaultProcessor
- All Implemented Interfaces:
- Processor
public class ThrowFaultProcessor
- extends Object
- implements Processor
The processor which implements the ThrowFault DSL
Method Summary |
void |
process(Exchange exchange)
Set the fault message in the exchange |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThrowFaultProcessor
public ThrowFaultProcessor(Throwable fault)
process
public void process(Exchange exchange)
throws Exception
- Set the fault message in the exchange
- Specified by:
process
in interface Processor
- Throws:
Exception
- if an internal processing error has occurred.- See Also:
Processor.process(org.apache.camel.Exchange)
Copyright © 2010 IONA Open Source Community. All Rights Reserved.