public abstract class FhirEndpoint<AuditDatasetType extends FhirAuditDataset,ComponentType extends FhirComponent<AuditDatasetType>> extends org.apache.camel.impl.DefaultEndpoint implements InterceptableEndpoint<FhirEndpointConfiguration<AuditDatasetType>,ComponentType>, AuditableEndpoint<AuditDatasetType>
Constructor and Description |
---|
FhirEndpoint(String uri,
ComponentType fhirComponent,
FhirEndpointConfiguration<AuditDatasetType> config) |
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
createConsumer, createProducer, getCustomInterceptors
isAudit
public FhirEndpoint(String uri, ComponentType fhirComponent, FhirEndpointConfiguration<AuditDatasetType> config)
public ComponentType getInterceptableComponent()
getInterceptableComponent
in interface InterceptableEndpoint<FhirEndpointConfiguration<AuditDatasetType extends FhirAuditDataset>,ComponentType extends FhirComponent<AuditDatasetType>>
public org.apache.camel.Producer doCreateProducer()
doCreateProducer
in interface InterceptableEndpoint<FhirEndpointConfiguration<AuditDatasetType extends FhirAuditDataset>,ComponentType extends FhirComponent<AuditDatasetType>>
public void connect(FhirConsumer<AuditDatasetType> consumer) throws Exception
FhirConsumer
is started. Registers the resource providerconsumer
- FhirConsumerException
- if resource provider could not be registeredpublic void disconnect(FhirConsumer<AuditDatasetType> consumer) throws Exception
FhirConsumer
is stopped. Unregisters the resource providerconsumer
- FhirConsumerException
- if resource provider could not be unregisteredpublic ca.uhn.fhir.context.FhirContext getContext()
public List<Interceptor> createInitialConsumerInterceptorChain()
createInitialConsumerInterceptorChain
in interface InterceptableEndpoint<FhirEndpointConfiguration<AuditDatasetType extends FhirAuditDataset>,ComponentType extends FhirComponent<AuditDatasetType>>
public List<Interceptor> createInitialProducerInterceptorChain()
createInitialProducerInterceptorChain
in interface InterceptableEndpoint<FhirEndpointConfiguration<AuditDatasetType extends FhirAuditDataset>,ComponentType extends FhirComponent<AuditDatasetType>>
public boolean isSingleton()
isSingleton
in interface org.apache.camel.IsSingleton
public FhirEndpointConfiguration<AuditDatasetType> getInterceptableConfiguration()
getInterceptableConfiguration
in interface InterceptableEndpoint<FhirEndpointConfiguration<AuditDatasetType extends FhirAuditDataset>,ComponentType extends FhirComponent<AuditDatasetType>>
public AuditStrategy<AuditDatasetType> getClientAuditStrategy()
AuditableEndpoint
getClientAuditStrategy
in interface AuditableEndpoint<AuditDatasetType extends FhirAuditDataset>
public AuditStrategy<AuditDatasetType> getServerAuditStrategy()
AuditableEndpoint
getServerAuditStrategy
in interface AuditableEndpoint<AuditDatasetType extends FhirAuditDataset>
public AuditContext getAuditContext()
getAuditContext
in interface AuditableEndpoint<AuditDatasetType extends FhirAuditDataset>
public org.apache.camel.Consumer doCreateConsumer(org.apache.camel.Processor processor)
doCreateConsumer
in interface InterceptableEndpoint<FhirEndpointConfiguration<AuditDatasetType extends FhirAuditDataset>,ComponentType extends FhirComponent<AuditDatasetType>>
public ClientRequestFactory<?> getClientRequestFactory()
Copyright © 2018 Open eHealth Foundation. All rights reserved.