org.apache.camel.component.stax
Class StAXProcessor
java.lang.Object
org.apache.camel.component.stax.StAXProcessor
- All Implemented Interfaces:
- org.apache.camel.Processor
public class StAXProcessor
- extends Object
- implements org.apache.camel.Processor
It uses SAX content handler to handle events.
The Exchange
is expected to contain a message body, that is
convertable to both a InputSource
and a XMLStreamReader
to support StAX streaming.
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 |
StAXProcessor
public StAXProcessor(Class<ContentHandler> contentHandlerClass)
StAXProcessor
public StAXProcessor(ContentHandler contentHandler)
process
public void process(org.apache.camel.Exchange exchange)
throws Exception
- Specified by:
process
in interface org.apache.camel.Processor
- Throws:
Exception
Apache Camel