Class ChainExceptionResponseHandlerProcessor

java.lang.Object
org.qubership.integration.platform.engine.camel.processors.ChainExceptionResponseHandlerProcessor
All Implemented Interfaces:
org.apache.camel.Processor

@Component public class ChainExceptionResponseHandlerProcessor extends Object implements org.apache.camel.Processor
Processor that will replace body and headers in exchange with appropriate response from the caught exception (TMF exception response + Content-type header + Camel response code header)
  • 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