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
-
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
-
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, 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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 Details
-
Hl7CorrelationManager
-
-
Method Details
-
getRequestCorrelationId
- Specified by:
getRequestCorrelationId
in classorg.apache.camel.component.netty.TimeoutCorrelationManagerSupport
-
getResponseCorrelationId
- Specified by:
getResponseCorrelationId
in classorg.apache.camel.component.netty.TimeoutCorrelationManagerSupport
-