Class XdsSubmissionProducer<InType,OutType>
java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.support.service.ServiceSupport
org.apache.camel.support.DefaultProducer
org.openehealth.ipf.platform.camel.ihe.ws.AbstractWsProducer<XdsSubmitAuditDataset,WsTransactionConfiguration<XdsSubmitAuditDataset>,InType,OutType>
org.openehealth.ipf.platform.camel.ihe.xds.XdsSubmissionProducer<InType,OutType>
- All Implemented Interfaces:
AutoCloseable
,EndpointAware
,IsSingleton
,Processor
,Producer
,Service
,ShutdownableService
,StatefulService
,SuspendableService
- Direct Known Subclasses:
Iti41Producer
,Iti80Producer
public abstract class XdsSubmissionProducer<InType,OutType>
extends AbstractWsProducer<XdsSubmitAuditDataset,WsTransactionConfiguration<XdsSubmitAuditDataset>,InType,OutType>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final QName
static final String
static final String
static final String
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
ConstructorDescriptionXdsSubmissionProducer
(AbstractWsEndpoint<XdsSubmitAuditDataset, WsTransactionConfiguration<XdsSubmitAuditDataset>> endpoint, JaxWsClientFactory<XdsSubmitAuditDataset> clientFactory, Class<InType> requestClass, Class<OutType> responseClass) -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
injectTargetHomeCommunityId
(Object client, SubmitObjectsRequest request) According to the XDR option "Transmit Home Community Id": when the request POJO contains the target home community ID, create a special SOAP header and copy the target home community ID into this header.Methods inherited from class org.openehealth.ipf.platform.camel.ihe.ws.AbstractWsProducer
callService, cleanRequestContext, configureClient, enrichRequestContext, enrichResponseMessage, getAlternativeRequestKeys, getEndpoint, getRequestClass, getResponseClass, getWsTransactionConfiguration, process
Methods inherited from class org.apache.camel.support.DefaultProducer
createExchange, doStart, doStop, isSingleton, toString
Methods inherited from class org.apache.camel.support.service.BaseService
build, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, 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, 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
-
Field Details
-
TARGET_HCID_NS
- See Also:
-
TARGET_HCID_NS_PREFIX
- See Also:
-
TARGET_HCID_BLOCK_LOCAL_PART
- See Also:
-
TARGET_HCID_LOCAL_PART
- See Also:
-
TARGET_HCID_HEADER_NAME
-
-
Constructor Details
-
XdsSubmissionProducer
public XdsSubmissionProducer(AbstractWsEndpoint<XdsSubmitAuditDataset, WsTransactionConfiguration<XdsSubmitAuditDataset>> endpoint, JaxWsClientFactory<XdsSubmitAuditDataset> clientFactory, Class<InType> requestClass, Class<OutType> responseClass)
-
-
Method Details
-
injectTargetHomeCommunityId
According to the XDR option "Transmit Home Community Id": when the request POJO contains the target home community ID, create a special SOAP header and copy the target home community ID into this header.
-