Class Hl7CorrelationManager

  • All Implemented Interfaces:
    AutoCloseable, org.apache.camel.CamelContextAware, org.apache.camel.component.netty.NettyCamelStateCorrelationManager, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.StatefulService, org.apache.camel.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
    • Field Summary

      • Fields inherited from class org.apache.camel.support.service.BaseService

        BUILT, FAILED, INITIALIZED, INITIALIZING, lock, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING
    • Constructor Summary

      Constructors 
      Constructor Description
      Hl7CorrelationManager​(ca.uhn.hl7v2.HapiContext hapiContext)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getRequestCorrelationId​(Object request)  
      String getResponseCorrelationId​(Object response)  
      • Methods inherited from class org.apache.camel.component.netty.TimeoutCorrelationManagerSupport

        doShutdown, doStart, doStop, getCamelContext, getState, getState, getTimeout, getTimeoutChecker, getTimeoutLoggingLevel, getTimeoutResponse, getWorkerPool, putState, removeState, setCamelContext, setTimeout, setTimeoutChecker, setTimeoutLoggingLevel, setWorkerPool
      • Methods inherited from class org.apache.camel.support.service.BaseService

        build, doBuild, doFail, doInit, doLifecycleChange, doResume, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
      • Methods inherited from interface org.apache.camel.Service

        build, close, init, start, stop
      • Methods inherited from interface org.apache.camel.ShutdownableService

        shutdown
      • Methods inherited from interface org.apache.camel.StatefulService

        getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspending
      • Methods inherited from interface org.apache.camel.SuspendableService

        isSuspended, resume, suspend
    • Constructor Detail

      • Hl7CorrelationManager

        public Hl7CorrelationManager​(ca.uhn.hl7v2.HapiContext hapiContext)
    • Method Detail

      • 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