Class XdsAsyncResponseEndpoint<AuditDatasetType extends XdsAuditDataset>
- 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<AuditDatasetType,WsTransactionConfiguration<AuditDatasetType>>
-
- org.openehealth.ipf.platform.camel.ihe.xds.XdsAsyncResponseEndpoint<AuditDatasetType>
-
- All Implemented Interfaces:
AutoCloseable
,org.apache.camel.CamelContextAware
,org.apache.camel.Endpoint
,org.apache.camel.IsSingleton
,org.apache.camel.Service
,org.apache.camel.ShutdownableService
,org.apache.camel.spi.HasId
,org.apache.camel.StatefulService
,org.apache.camel.SuspendableService
,AuditableEndpoint<AuditDatasetType>
public class XdsAsyncResponseEndpoint<AuditDatasetType extends XdsAuditDataset> extends AbstractWsEndpoint<AuditDatasetType,WsTransactionConfiguration<AuditDatasetType>>
Camel Endpoint implementation for XDS-like transactions which have only a single Web Service operation.- 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
-
-
Constructor Summary
Constructors Constructor Description XdsAsyncResponseEndpoint(String endpointUri, String address, AbstractWsComponent<AuditDatasetType,WsTransactionConfiguration<AuditDatasetType>,? extends WsInteractionId<WsTransactionConfiguration<AuditDatasetType>>> component, Map<String,Object> parameters, Class<? extends AbstractWebService> serviceClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JaxWsClientFactory<AuditDatasetType>
getJaxWsClientFactory()
JaxWsServiceFactory<AuditDatasetType>
getJaxWsServiceFactory()
AbstractWsProducer<AuditDatasetType,WsTransactionConfiguration<AuditDatasetType>,?,?>
getProducer(AbstractWsEndpoint<AuditDatasetType,WsTransactionConfiguration<AuditDatasetType>> endpoint, JaxWsClientFactory<AuditDatasetType> clientFactory)
Constructs and returns a transaction-specific Camel producer instance-
Methods inherited from class org.openehealth.ipf.platform.camel.ihe.ws.AbstractWsEndpoint
createConsumer, createProducer, getAuditContext, getClientAuditStrategy, getComponent, getCorrelator, getCustomInterceptors, getCustomServiceInstance, getFeatures, getHomeCommunityId, getHostnameVerifier, getPassword, getProperties, getRejectionHandlingStrategy, getSchemaLocations, getSecurityInformation, getServerAuditStrategy, getServiceAddress, getServiceInstance, getServiceUrl, getSslContextParameters, getUsername, isAddressing, isAudit, isMtom, isSecure, isSingleton, isSwaOutSupport, setAuditContext, setCorrelator, setHomeCommunityId, setHomeCommunityId, setHostnameVerifier, setPassword, setRejectionHandlingStrategy, setSecure, setSslContextParameters, setUsername
-
Methods inherited from class org.apache.camel.support.DefaultEndpoint
configureConsumer, 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, isSynchronous, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, 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
configureProperties, createAsyncProducer, createExchange, createExchange, createPollingConsumer, getCamelContext, getEndpointBaseUri, getEndpointKey, getEndpointUri, isLenientProperties, isSingletonProducer, setCamelContext
-
-
-
-
Constructor Detail
-
XdsAsyncResponseEndpoint
public XdsAsyncResponseEndpoint(String endpointUri, String address, AbstractWsComponent<AuditDatasetType,WsTransactionConfiguration<AuditDatasetType>,? extends WsInteractionId<WsTransactionConfiguration<AuditDatasetType>>> component, Map<String,Object> parameters, Class<? extends AbstractWebService> serviceClass)
-
-
Method Detail
-
getJaxWsClientFactory
public JaxWsClientFactory<AuditDatasetType> getJaxWsClientFactory()
- Specified by:
getJaxWsClientFactory
in classAbstractWsEndpoint<AuditDatasetType extends XdsAuditDataset,WsTransactionConfiguration<AuditDatasetType extends XdsAuditDataset>>
- Returns:
- JAX-WS client object factory.
-
getJaxWsServiceFactory
public JaxWsServiceFactory<AuditDatasetType> getJaxWsServiceFactory()
- Specified by:
getJaxWsServiceFactory
in classAbstractWsEndpoint<AuditDatasetType extends XdsAuditDataset,WsTransactionConfiguration<AuditDatasetType extends XdsAuditDataset>>
- Returns:
- JAX-WS service object factory.
-
getProducer
public AbstractWsProducer<AuditDatasetType,WsTransactionConfiguration<AuditDatasetType>,?,?> getProducer(AbstractWsEndpoint<AuditDatasetType,WsTransactionConfiguration<AuditDatasetType>> endpoint, JaxWsClientFactory<AuditDatasetType> clientFactory)
Description copied from class:AbstractWsEndpoint
Constructs and returns a transaction-specific Camel producer instance- Specified by:
getProducer
in classAbstractWsEndpoint<AuditDatasetType extends XdsAuditDataset,WsTransactionConfiguration<AuditDatasetType extends XdsAuditDataset>>
clientFactory
- JAX-WS client factory instance.- Returns:
- Camel producer instance.
-
-