Class ConsumerAdaptingInterceptor

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.ConsumerAdaptingInterceptor
All Implemented Interfaces:
Processor, Chainable, Interceptor

public class ConsumerAdaptingInterceptor extends InterceptorSupport
Consumer-side Camel interceptor which creates a Message from various possible response types.
Author:
Dmytro Rud
  • Field Details

  • Constructor Details

    • ConsumerAdaptingInterceptor

      public ConsumerAdaptingInterceptor(String charsetName)
      Constructor which enforces the use of a particular character set. The given value will be propagated to the Camel exchange property Exchange.CHARSET_NAME, rewriting its old content.
      Parameters:
      charsetName - character set to use in all data transformations.
    • ConsumerAdaptingInterceptor

      public ConsumerAdaptingInterceptor()
      Constructor which does not enforce the use of a particular character set. When the Camel exchange does not contain property Exchange.CHARSET_NAME, the default system character set will be used.
  • Method Details