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,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 -
Method Summary
Modifier and TypeMethodDescriptiongetRequestCorrelationId(Object request) 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, setWorkerPoolMethods 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, suspendMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.Service
build, close, init, start, stopMethods inherited from interface org.apache.camel.ShutdownableService
shutdownMethods inherited from interface org.apache.camel.StatefulService
getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspendingMethods inherited from interface org.apache.camel.SuspendableService
isSuspended, resume, suspend
-
Constructor Details
-
Hl7CorrelationManager
public Hl7CorrelationManager(ca.uhn.hl7v2.HapiContext hapiContext)
-
-
Method Details
-
getRequestCorrelationId
- Specified by:
getRequestCorrelationIdin classorg.apache.camel.component.netty.TimeoutCorrelationManagerSupport
-
getResponseCorrelationId
- Specified by:
getResponseCorrelationIdin classorg.apache.camel.component.netty.TimeoutCorrelationManagerSupport
-