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
,Endpoint
,IsSingleton
,Service
,ShutdownableService
,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
ConstructorDescriptionIti68Endpoint
(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, setServletName
Methods inherited from class org.apache.camel.http.common.HttpCommonEndpoint
canConnect, connect, disconnect, getAuthDomain, getAuthHost, getAuthMethod, getAuthMethodPriority, getAuthPassword, getAuthUsername, getBinding, getCookieHandler, getHeaderFilterStrategy, getHttpMethod, getHttpMethodRestrict, getHttpUri, getOkStatusCodeRange, getPath, getPort, getProtocol, getProxyAuthDomain, getProxyAuthHost, getProxyAuthMethod, getProxyAuthNtHost, getProxyAuthPassword, getProxyAuthPort, getProxyAuthScheme, getProxyAuthUsername, getProxyHost, getProxyPort, getResponseBufferSize, getServiceProperties, isAsync, isBridgeEndpoint, isChunked, isConnectionClose, isCopyHeaders, isDisableStreamCache, isEagerCheckContentAvailable, isIgnoreResponseBody, 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, setMapHttpMessageBody, setMapHttpMessageFormUrlEncodedBody, setMapHttpMessageHeaders, setMatchOnUriPrefix, setMuteException, setOkStatusCodeRange, setOptionsEnabled, setPreserveHostHeader, setProxyAuthDomain, setProxyAuthHost, setProxyAuthMethod, setProxyAuthNtHost, setProxyAuthPassword, setProxyAuthPort, setProxyAuthScheme, setProxyAuthUsername, setProxyHost, setProxyPort, setResponseBufferSize, setThrowExceptionOnFailure, setTraceEnabled, setTransferException
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, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, isSingleton, 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.openehealth.ipf.platform.camel.ihe.atna.AuditableEndpoint
isAudit
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.openehealth.ipf.platform.camel.ihe.core.InterceptableEndpoint
createProducer, getCustomInterceptors
Methods inherited from interface org.apache.camel.IsSingleton
isSingleton
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
-
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:InterceptableEndpoint
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.- Specified by:
createConsumer
in interfaceEndpoint
- Specified by:
createConsumer
in interfaceInterceptableEndpoint<AuditableEndpointConfiguration,
Iti68Component> - Overrides:
createConsumer
in classorg.apache.camel.component.servlet.ServletEndpoint
- Parameters:
processor
- processor for handling the consumed request- Returns:
- intercepted consumer
- Throws:
Exception
-
doCreateConsumer
- Specified by:
doCreateConsumer
in interfaceInterceptableEndpoint<AuditableEndpointConfiguration,
Iti68Component> - Returns:
- the actual consumer without any interceptors configured
- Throws:
Exception
-
doCreateProducer
- Specified by:
doCreateProducer
in interfaceInterceptableEndpoint<AuditableEndpointConfiguration,
Iti68Component> - Returns:
- the actual producer without any interceptors configured
- Throws:
Exception
-
getInterceptableComponent
- Specified by:
getInterceptableComponent
in interfaceInterceptableEndpoint<AuditableEndpointConfiguration,
Iti68Component> - Returns:
- the component for this endpoint
-
getInterceptableConfiguration
- Specified by:
getInterceptableConfiguration
in interfaceInterceptableEndpoint<AuditableEndpointConfiguration,
Iti68Component> - Returns:
- the configuration for this endpoint
-
getClientAuditStrategy
Description copied from interface:AuditableEndpoint
Returns client-side audit strategy instance.- Specified by:
getClientAuditStrategy
in interfaceAuditableEndpoint<Iti68AuditDataset>
- Returns:
- client-side audit strategy instance
-
getServerAuditStrategy
Description copied from interface:AuditableEndpoint
Returns server-side audit strategy instance.- Specified by:
getServerAuditStrategy
in interfaceAuditableEndpoint<Iti68AuditDataset>
- Returns:
- server-side audit strategy instance
-
getAuditContext
- Specified by:
getAuditContext
in interfaceAuditableEndpoint<Iti68AuditDataset>
- Returns:
- audit context to be used for this endpoint
-
createInitialConsumerInterceptorChain
- Specified by:
createInitialConsumerInterceptorChain
in interfaceInterceptableEndpoint<AuditableEndpointConfiguration,
Iti68Component> - Returns:
- the initial chain of consumer interceptors for this endpoint
-
createInitialProducerInterceptorChain
- Specified by:
createInitialProducerInterceptorChain
in interfaceInterceptableEndpoint<AuditableEndpointConfiguration,
Iti68Component> - Returns:
- the initial chain of producer interceptors for this endpoint
-