Class SimpleHl7v2WsEndpoint<ComponentType extends AbstractHl7v2WsComponent>
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<WsAuditDataset>
org.openehealth.ipf.platform.camel.ihe.hl7v2ws.SimpleHl7v2WsEndpoint<ComponentType>
- All Implemented Interfaces:
AutoCloseable, CamelContextAware, ComponentAware, Endpoint, IsSingleton, Service, ShutdownableService, HasCamelContext, HasId, StatefulService, SuspendableService, AuditableEndpoint<WsAuditDataset>, Hl7v2ConfigurationHolder, HL7v2Endpoint
public abstract class SimpleHl7v2WsEndpoint<ComponentType extends AbstractHl7v2WsComponent>
extends AbstractWsEndpoint<WsAuditDataset>
implements HL7v2Endpoint
Camel endpoint for HL7v2-WS transaction with a single operation.
-
Field Summary
Fields inherited from class AbstractWsEndpoint
CORRELATION_KEY_HEADER_NAME, INCOMING_HTTP_HEADERS, INCOMING_SOAP_HEADERS, OUTGOING_HTTP_HEADERS, OUTGOING_SOAP_HEADERS, WSA_REPLYTO_HEADER_NAMEFields inherited from class BaseService
BUILT, FAILED, INITIALIZED, INITIALIZING, lock, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING -
Constructor Summary
ConstructorsConstructorDescriptionSimpleHl7v2WsEndpoint(String endpointUri, String address, AbstractWsComponent<WsAuditDataset> component, Map<String, Object> parameters, Class<? extends AbstractWebService> serviceClass) -
Method Summary
Modifier and TypeMethodDescriptioncreateConsumer(Processor processor) Returns component configuration.Returns transaction-specific NAK factory.protected List<Interceptor> Methods inherited from class AbstractWsEndpoint
getAuditContext, getClientAuditStrategy, getCorrelator, getCustomCxfInterceptors, getCustomServiceInstance, getFeatures, getHomeCommunityId, getHostnameVerifier, getHttpClientPolicy, getPassword, getProducer, 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, setUsernameMethods inherited from class org.apache.camel.support.DefaultEndpoint
configureConsumer, configureExchange, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, 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, toStringMethods inherited from class BaseService
build, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doStart, doStop, 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 interface ComponentAware
getComponent, setComponentMethods inherited from interface Endpoint
configureExchange, configureProperties, createAsyncProducer, createExchange, createExchange, createPollingConsumer, getCamelContext, getEndpointBaseUri, getEndpointKey, getEndpointUri, getExchangePattern, isLenientProperties, isRemote, isSingletonProducer, setCamelContextMethods inherited from interface IsSingleton
isSingletonMethods inherited from interface ShutdownableService
shutdownMethods inherited from interface StatefulService
getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspendingMethods inherited from interface SuspendableService
isSuspended, resume, suspend
-
Constructor Details
-
SimpleHl7v2WsEndpoint
public SimpleHl7v2WsEndpoint(String endpointUri, String address, AbstractWsComponent<WsAuditDataset> component, Map<String, Object> parameters, Class<? extends AbstractWebService> serviceClass)
-
-
Method Details
-
getProducerInterceptorChain
-
createProducer
- Specified by:
createProducerin interfaceEndpoint- Overrides:
createProducerin classAbstractWsEndpoint<WsAuditDataset>
-
createConsumer
- Specified by:
createConsumerin interfaceEndpoint- Overrides:
createConsumerin classAbstractWsEndpoint<WsAuditDataset>
-
getJaxWsClientFactory
- Specified by:
getJaxWsClientFactoryin classAbstractWsEndpoint<WsAuditDataset>- Returns:
- JAX-WS client object factory.
-
getJaxWsServiceFactory
- Specified by:
getJaxWsServiceFactoryin classAbstractWsEndpoint<WsAuditDataset>- Returns:
- JAX-WS service object factory.
-
getComponent
- Specified by:
getComponentin interfaceComponentAware- Overrides:
getComponentin classAbstractWsEndpoint<WsAuditDataset>
-
getHl7v2TransactionConfiguration
Description copied from interface:Hl7v2ConfigurationHolderReturns component configuration.- Specified by:
getHl7v2TransactionConfigurationin interfaceHl7v2ConfigurationHolder
-
getNakFactory
Description copied from interface:Hl7v2ConfigurationHolderReturns transaction-specific NAK factory.- Specified by:
getNakFactoryin interfaceHl7v2ConfigurationHolder
-
getInteractionId
- Specified by:
getInteractionIdin interfaceHl7v2ConfigurationHolder
-