Class 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 Detail

      • process

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