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
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final QNamestatic final Stringstatic final Stringstatic final StringFields 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
ConstructorsConstructorDescriptionXdsSubmissionProducer(AbstractWsEndpoint<XdsSubmitAuditDataset, WsTransactionConfiguration<XdsSubmitAuditDataset>> endpoint, JaxWsClientFactory<XdsSubmitAuditDataset> clientFactory, Class<InType> requestClass, Class<OutType> responseClass) -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidinjectTargetHomeCommunityId(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, processMethods inherited from class org.apache.camel.support.DefaultProducer
createExchange, doStart, doStop, isSingleton, toStringMethods inherited from class org.apache.camel.support.service.BaseService
build, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getInternalLock, 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, wait, wait, waitMethods 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
-
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.
-