Class Hl7CorrelationManager

java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.support.service.ServiceSupport
org.apache.camel.component.netty.TimeoutCorrelationManagerSupport
org.openehealth.ipf.platform.camel.ihe.mllp.core.Hl7CorrelationManager
All Implemented Interfaces:
AutoCloseable, CamelContextAware, org.apache.camel.component.netty.NettyCamelStateCorrelationManager, Service, ShutdownableService, StatefulService, SuspendableService

public class Hl7CorrelationManager extends org.apache.camel.component.netty.TimeoutCorrelationManagerSupport
Correlation Manager used when duplexing message over a single Netty connection. Requests and responses are correlated based on MSH-10 and MSA-2 message identifiers
  • Constructor Details

    • Hl7CorrelationManager

      public Hl7CorrelationManager(HapiContext hapiContext)
  • Method Details

    • getRequestCorrelationId

      public String getRequestCorrelationId(Object request)
      Specified by:
      getRequestCorrelationId in class org.apache.camel.component.netty.TimeoutCorrelationManagerSupport
    • getResponseCorrelationId

      public String getResponseCorrelationId(Object response)
      Specified by:
      getResponseCorrelationId in class org.apache.camel.component.netty.TimeoutCorrelationManagerSupport