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.

  • Constructor Details

  • Method Details

    • process

      public void process(org.apache.camel.Exchange exchange) throws Exception
      Specified by:
      process in interface org.apache.camel.Processor
      Throws:
      Exception