Class RestProcessor

java.lang.Object
org.fcrepo.camel.reindexing.RestProcessor
All Implemented Interfaces:
org.apache.camel.Processor

public class RestProcessor extends Object implements org.apache.camel.Processor
A processor that converts the REST uri into the identifying path for an fcrepo node. This assumes that the `rest.prefix` value is stored in the CamelFcrepoRestPrefix header.
Author:
Aaron Coburn
  • Constructor Details

  • Method Details

    • process

      public void process(org.apache.camel.Exchange exchange) throws Exception
      Convert the incoming REST request into the correct Fcrepo header fields.
      Specified by:
      process in interface org.apache.camel.Processor
      Parameters:
      exchange - the current message exchange
      Throws:
      Exception