Class Iti68Endpoint
java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.support.service.ServiceSupport
org.apache.camel.support.DefaultEndpoint
org.apache.camel.http.common.HttpCommonEndpoint
org.apache.camel.component.servlet.ServletEndpoint
org.openehealth.ipf.platform.camel.ihe.fhir.iti68.Iti68Endpoint
- All Implemented Interfaces:
AutoCloseable,CamelContextAware,DiscoverableService,ComponentAware,Endpoint,IsSingleton,Service,ShutdownableService,EndpointServiceLocation,HasCamelContext,HasId,HeaderFilterStrategyAware,StatefulService,SuspendableService,AuditableEndpoint<Iti68AuditDataset>,InterceptableEndpoint<AuditableEndpointConfiguration,Iti68Component>
public class Iti68Endpoint
extends org.apache.camel.component.servlet.ServletEndpoint
implements InterceptableEndpoint<AuditableEndpointConfiguration,Iti68Component>, AuditableEndpoint<Iti68AuditDataset>
- Since:
- 3.6
- Author:
- Christian Ohr
-
Field Summary
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
ConstructorsConstructorDescriptionIti68Endpoint(String endPointURI, org.apache.camel.component.servlet.ServletComponent component, URI httpUri) -
Method Summary
Modifier and TypeMethodDescriptioncreateConsumer(Processor processor) Default implementation that creates a consumer by callingInterceptableEndpoint.doCreateConsumer(Processor)and weaves in configured interceptor processors to be executed before calling the first processor in the consumer route.doCreateConsumer(Processor processor) Returns client-side audit strategy instance.Returns server-side audit strategy instance.Methods inherited from class org.apache.camel.component.servlet.ServletEndpoint
createProducer, getComponent, getContextPath, getFileNameExtWhitelist, getHttpBinding, getServletName, isAttachmentMultipartBinding, isLenientProperties, setAttachmentMultipartBinding, setContextPath, setFileNameExtWhitelist, setHttpBinding, setServletNameMethods inherited from class org.apache.camel.http.common.HttpCommonEndpoint
canConnect, connect, disconnect, getAuthDomain, getAuthHost, getAuthMethod, getAuthMethodPriority, getAuthPassword, getAuthUsername, getBinding, getCookieHandler, getHeaderFilterStrategy, getHttpMethod, getHttpMethodRestrict, getHttpUri, getOauth2ClientId, getOauth2ClientSecret, getOauth2Scope, getOauth2TokenEndpoint, getOkStatusCodeRange, getPath, getPort, getProtocol, getProxyAuthDomain, getProxyAuthHost, getProxyAuthMethod, getProxyAuthNtHost, getProxyAuthPassword, getProxyAuthPort, getProxyAuthScheme, getProxyAuthUsername, getProxyHost, getProxyPort, getResponseBufferSize, getServiceProperties, getServiceProtocol, getServiceUrl, isAsync, isBridgeEndpoint, isChunked, isConnectionClose, isCopyHeaders, isDisableStreamCache, isEagerCheckContentAvailable, isIgnoreResponseBody, isLogException, isMapHttpMessageBody, isMapHttpMessageFormUrlEncodedBody, isMapHttpMessageHeaders, isMatchOnUriPrefix, isMuteException, isOptionsEnabled, isPreserveHostHeader, isThrowExceptionOnFailure, isTraceEnabled, isTransferException, setAsync, setAuthDomain, setAuthHost, setAuthMethod, setAuthMethodPriority, setAuthPassword, setAuthUsername, setBridgeEndpoint, setChunked, setConnectionClose, setCookieHandler, setCopyHeaders, setDisableStreamCache, setEagerCheckContentAvailable, setHeaderFilterStrategy, setHttpMethod, setHttpMethodRestrict, setHttpUri, setIgnoreResponseBody, setLogException, setMapHttpMessageBody, setMapHttpMessageFormUrlEncodedBody, setMapHttpMessageHeaders, setMatchOnUriPrefix, setMuteException, setOauth2ClientId, setOauth2ClientSecret, setOauth2Scope, setOauth2TokenEndpoint, setOkStatusCodeRange, setOptionsEnabled, setPreserveHostHeader, setProxyAuthDomain, setProxyAuthHost, setProxyAuthMethod, setProxyAuthNtHost, setProxyAuthPassword, setProxyAuthPort, setProxyAuthScheme, setProxyAuthUsername, setProxyHost, setProxyPort, setResponseBufferSize, setThrowExceptionOnFailure, setTraceEnabled, setTransferExceptionMethods 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, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, isSingleton, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerCopy, setPollingConsumerQueueSize, setProperties, toStringMethods inherited from class org.apache.camel.support.service.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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.openehealth.ipf.platform.camel.ihe.atna.AuditableEndpoint
isAuditMethods inherited from interface org.apache.camel.ComponentAware
getComponent, getComponent, setComponentMethods inherited from interface org.apache.camel.Endpoint
configureExchange, configureProperties, createAsyncProducer, createExchange, createExchange, createPollingConsumer, getCamelContext, getEndpointBaseUri, getEndpointKey, getEndpointUri, getExchangePattern, isLenientProperties, isRemote, isSingletonProducer, setCamelContextMethods inherited from interface org.apache.camel.spi.EndpointServiceLocation
getServiceMetadataMethods inherited from interface org.openehealth.ipf.platform.camel.ihe.core.InterceptableEndpoint
createProducer, getCustomInterceptorsMethods inherited from interface org.apache.camel.IsSingleton
isSingletonMethods 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
-
Constructor Details
-
Iti68Endpoint
public Iti68Endpoint(String endPointURI, org.apache.camel.component.servlet.ServletComponent component, URI httpUri) throws URISyntaxException - Throws:
URISyntaxException
-
-
Method Details
-
createConsumer
Description copied from interface:InterceptableEndpointDefault implementation that creates a consumer by callingInterceptableEndpoint.doCreateConsumer(Processor)and weaves in configured interceptor processors to be executed before calling the first processor in the consumer route.- Specified by:
createConsumerin interfaceEndpoint- Specified by:
createConsumerin interfaceInterceptableEndpoint<AuditableEndpointConfiguration,Iti68Component> - Overrides:
createConsumerin classorg.apache.camel.component.servlet.ServletEndpoint- Parameters:
processor- processor for handling the consumed request- Returns:
- intercepted consumer
- Throws:
Exception
-
doCreateConsumer
- Specified by:
doCreateConsumerin interfaceInterceptableEndpoint<AuditableEndpointConfiguration,Iti68Component> - Returns:
- the actual consumer without any interceptors configured
- Throws:
Exception
-
doCreateProducer
- Specified by:
doCreateProducerin interfaceInterceptableEndpoint<AuditableEndpointConfiguration,Iti68Component> - Returns:
- the actual producer without any interceptors configured
- Throws:
Exception
-
getInterceptableComponent
- Specified by:
getInterceptableComponentin interfaceInterceptableEndpoint<AuditableEndpointConfiguration,Iti68Component> - Returns:
- the component for this endpoint
-
getInterceptableConfiguration
- Specified by:
getInterceptableConfigurationin interfaceInterceptableEndpoint<AuditableEndpointConfiguration,Iti68Component> - Returns:
- the configuration for this endpoint
-
getClientAuditStrategy
Description copied from interface:AuditableEndpointReturns client-side audit strategy instance.- Specified by:
getClientAuditStrategyin interfaceAuditableEndpoint<Iti68AuditDataset>- Returns:
- client-side audit strategy instance
-
getServerAuditStrategy
Description copied from interface:AuditableEndpointReturns server-side audit strategy instance.- Specified by:
getServerAuditStrategyin interfaceAuditableEndpoint<Iti68AuditDataset>- Returns:
- server-side audit strategy instance
-
getAuditContext
- Specified by:
getAuditContextin interfaceAuditableEndpoint<Iti68AuditDataset>- Returns:
- audit context to be used for this endpoint
-
createInitialConsumerInterceptorChain
- Specified by:
createInitialConsumerInterceptorChainin interfaceInterceptableEndpoint<AuditableEndpointConfiguration,Iti68Component> - Returns:
- the initial chain of consumer interceptors for this endpoint
-
createInitialProducerInterceptorChain
- Specified by:
createInitialProducerInterceptorChainin interfaceInterceptableEndpoint<AuditableEndpointConfiguration,Iti68Component> - Returns:
- the initial chain of producer interceptors for this endpoint
-