Class Hl7v3AsyncResponseEndpoint<ConfigType extends Hl7v3WsTransactionConfiguration>
java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.support.service.ServiceSupport
org.apache.camel.support.DefaultEndpoint
org.openehealth.ipf.platform.camel.ihe.ws.AbstractWsEndpoint<Hl7v3AuditDataset,ConfigType>
org.openehealth.ipf.platform.camel.ihe.hl7v3.Hl7v3AsyncResponseEndpoint<ConfigType>
- All Implemented Interfaces:
AutoCloseable
,CamelContextAware
,Endpoint
,IsSingleton
,Service
,ShutdownableService
,HasId
,StatefulService
,SuspendableService
,AuditableEndpoint<Hl7v3AuditDataset>
public class Hl7v3AsyncResponseEndpoint<ConfigType extends Hl7v3WsTransactionConfiguration>
extends AbstractWsEndpoint<Hl7v3AuditDataset,ConfigType>
Camel endpoint implementation for asynchronous response
receivers of HL7v3-based IHE components.
- Author:
- Dmytro Rud
-
Field Summary
Fields inherited from class org.openehealth.ipf.platform.camel.ihe.ws.AbstractWsEndpoint
CORRELATION_KEY_HEADER_NAME, INCOMING_HTTP_HEADERS, INCOMING_SOAP_HEADERS, OUTGOING_HTTP_HEADERS, OUTGOING_SOAP_HEADERS, WSA_REPLYTO_HEADER_NAME
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
ConstructorDescriptionHl7v3AsyncResponseEndpoint
(String endpointUri, String address, AbstractWsComponent<Hl7v3AuditDataset, ConfigType, ? extends WsInteractionId<ConfigType>> component, Map<String, Object> parameters, Class<? extends AbstractWebService> serviceClass) -
Method Summary
Modifier and TypeMethodDescriptiongetProducer
(AbstractWsEndpoint<Hl7v3AuditDataset, ConfigType> endpoint, JaxWsClientFactory<Hl7v3AuditDataset> clientFactory) Constructs and returns a transaction-specific Camel producer instanceMethods inherited from class org.openehealth.ipf.platform.camel.ihe.ws.AbstractWsEndpoint
createConsumer, createProducer, getAuditContext, getClientAuditStrategy, getComponent, getCorrelator, getCustomCxfInterceptors, getCustomInterceptors, getCustomServiceInstance, getFeatures, getHomeCommunityId, getHostnameVerifier, getHttpClientPolicy, getPassword, getProperties, getRejectionHandlingStrategy, getSchemaLocations, getSecurityInformation, getServerAuditStrategy, getServiceAddress, getServiceInstance, getServiceUrl, getSslContextParameters, getUsername, isAddressing, isAudit, isMtom, isSecure, isSingleton, isSwaOutSupport, setAuditContext, setCorrelator, setHomeCommunityId, setHomeCommunityId, setHostnameVerifier, setHttpClientPolicy, setPassword, setRejectionHandlingStrategy, setSecure, setSslContextParameters, setUsername
Methods inherited from class org.apache.camel.support.DefaultEndpoint
configureConsumer, configureExchange, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, doStart, doStop, equals, getCamelContext, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerCopy, setPollingConsumerQueueSize, setProperties, toString
Methods inherited from class org.apache.camel.support.service.BaseService
build, doBuild, doFail, 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, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.camel.Endpoint
configureExchange, configureProperties, createAsyncProducer, createExchange, createExchange, createPollingConsumer, getCamelContext, getEndpointBaseUri, getEndpointKey, getEndpointUri, getExchangePattern, isLenientProperties, isSingletonProducer, setCamelContext
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
-
Hl7v3AsyncResponseEndpoint
public Hl7v3AsyncResponseEndpoint(String endpointUri, String address, AbstractWsComponent<Hl7v3AuditDataset, ConfigType, ? extends WsInteractionId<ConfigType>> component, Map<String, Object> parameters, Class<? extends AbstractWebService> serviceClass)
-
-
Method Details
-
getJaxWsClientFactory
- Specified by:
getJaxWsClientFactory
in classAbstractWsEndpoint<Hl7v3AuditDataset,
ConfigType extends Hl7v3WsTransactionConfiguration> - Returns:
- JAX-WS client object factory.
-
getJaxWsServiceFactory
- Specified by:
getJaxWsServiceFactory
in classAbstractWsEndpoint<Hl7v3AuditDataset,
ConfigType extends Hl7v3WsTransactionConfiguration> - Returns:
- JAX-WS service object factory.
-
getProducer
public AbstractWsProducer<Hl7v3AuditDataset,ConfigType, getProducer?, ?> (AbstractWsEndpoint<Hl7v3AuditDataset, ConfigType> endpoint, JaxWsClientFactory<Hl7v3AuditDataset> clientFactory) Description copied from class:AbstractWsEndpoint
Constructs and returns a transaction-specific Camel producer instance- Specified by:
getProducer
in classAbstractWsEndpoint<Hl7v3AuditDataset,
ConfigType extends Hl7v3WsTransactionConfiguration> clientFactory
- JAX-WS client factory instance.- Returns:
- Camel producer instance.
-