Class ConsumerMarshalInterceptor

java.lang.Object
org.openehealth.ipf.commons.ihe.core.chain.ChainableImpl
org.openehealth.ipf.platform.camel.ihe.core.InterceptorSupport
org.openehealth.ipf.platform.camel.ihe.hl7v2.intercept.consumer.ConsumerMarshalInterceptor
All Implemented Interfaces:
Processor, Chainable, Interceptor

public class ConsumerMarshalInterceptor extends InterceptorSupport
Consumer-side HL7 marshaling/unmarshaling interceptor.

When the Camel exchange does not contain property Exchange.CHARSET_NAME, the default system character set will be used.

Author:
Dmytro Rud
  • Constructor Details

    • ConsumerMarshalInterceptor

      public ConsumerMarshalInterceptor(boolean copyOriginalMessage)
  • Method Details

    • process

      public void process(Exchange exchange) throws Exception
      Unmarshals the request, passes it to the processing route and marshals the response.
      Throws:
      Exception