Class StaxResource


  • @Path("/stax")
    public class StaxResource
    extends Object
    • Field Detail

      • context

        @Inject
        org.apache.camel.CamelContext context
      • producerTemplate

        @Inject
        org.apache.camel.ProducerTemplate producerTemplate
    • Constructor Detail

      • StaxResource

        public StaxResource()
    • Method Detail

      • staxProcessRecords

        @Path("/records")
        @GET
        @Produces("text/plain")
        public int staxProcessRecords()
                               throws Exception
        Throws:
        Exception
      • staxProcessRecordsByRef

        @Path("/records/byref")
        @GET
        @Produces("text/plain")
        public int staxProcessRecordsByRef()
                                    throws Exception
        Throws:
        Exception
      • staxSplitRecords

        @Path("/records/split")
        @GET
        @Produces("text/plain")
        public void staxSplitRecords()
                              throws Exception
        Throws:
        Exception
      • countingHandler

        @Produces
        @Named("countingHandler")
        public TagCountHandler countingHandler()