Interface FhirComponentBuilderFactory.FhirComponentBuilder
-
- All Superinterfaces:
ComponentBuilder<org.apache.camel.component.fhir.FhirComponent>
- All Known Implementing Classes:
FhirComponentBuilderFactory.FhirComponentBuilderImpl
- Enclosing interface:
- FhirComponentBuilderFactory
public static interface FhirComponentBuilderFactory.FhirComponentBuilder extends ComponentBuilder<org.apache.camel.component.fhir.FhirComponent>
Builder for the FHIR component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default FhirComponentBuilderFactory.FhirComponentBuilder
accessToken(String accessToken)
OAuth access token.default FhirComponentBuilderFactory.FhirComponentBuilder
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.default FhirComponentBuilderFactory.FhirComponentBuilder
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler.default FhirComponentBuilderFactory.FhirComponentBuilder
client(ca.uhn.fhir.rest.client.api.IGenericClient client)
To use the custom client.default FhirComponentBuilderFactory.FhirComponentBuilder
clientFactory(ca.uhn.fhir.rest.client.api.IRestfulClientFactory clientFactory)
To use the custom client factory.default FhirComponentBuilderFactory.FhirComponentBuilder
compress(boolean compress)
Compresses outgoing (POST/PUT) contents to the GZIP format.default FhirComponentBuilderFactory.FhirComponentBuilder
configuration(org.apache.camel.component.fhir.FhirConfiguration configuration)
To use the shared configuration.default FhirComponentBuilderFactory.FhirComponentBuilder
connectionTimeout(Integer connectionTimeout)
How long to try and establish the initial TCP connection (in ms).default FhirComponentBuilderFactory.FhirComponentBuilder
deferModelScanning(boolean deferModelScanning)
When this option is set, model classes will not be scanned for children until the child list for the given type is actually accessed.default FhirComponentBuilderFactory.FhirComponentBuilder
encoding(String encoding)
Encoding to use for all request.default FhirComponentBuilderFactory.FhirComponentBuilder
fhirContext(ca.uhn.fhir.context.FhirContext fhirContext)
FhirContext is an expensive object to create.default FhirComponentBuilderFactory.FhirComponentBuilder
fhirVersion(String fhirVersion)
The FHIR Version to use.default FhirComponentBuilderFactory.FhirComponentBuilder
forceConformanceCheck(boolean forceConformanceCheck)
Force conformance check.default FhirComponentBuilderFactory.FhirComponentBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default FhirComponentBuilderFactory.FhirComponentBuilder
log(boolean log)
Will log every requests and responses.default FhirComponentBuilderFactory.FhirComponentBuilder
password(String password)
Username to use for basic authentication.default FhirComponentBuilderFactory.FhirComponentBuilder
prettyPrint(boolean prettyPrint)
Pretty print all request.default FhirComponentBuilderFactory.FhirComponentBuilder
proxyHost(String proxyHost)
The proxy host.default FhirComponentBuilderFactory.FhirComponentBuilder
proxyPassword(String proxyPassword)
The proxy password.default FhirComponentBuilderFactory.FhirComponentBuilder
proxyPort(Integer proxyPort)
The proxy port.default FhirComponentBuilderFactory.FhirComponentBuilder
proxyUser(String proxyUser)
The proxy username.default FhirComponentBuilderFactory.FhirComponentBuilder
serverUrl(String serverUrl)
The FHIR server base URL.default FhirComponentBuilderFactory.FhirComponentBuilder
sessionCookie(String sessionCookie)
HTTP session cookie to add to every request.default FhirComponentBuilderFactory.FhirComponentBuilder
socketTimeout(Integer socketTimeout)
How long to block for individual read/write operations (in ms).default FhirComponentBuilderFactory.FhirComponentBuilder
summary(String summary)
Request that the server modify the response using the _summary param.default FhirComponentBuilderFactory.FhirComponentBuilder
username(String username)
Username to use for basic authentication.default FhirComponentBuilderFactory.FhirComponentBuilder
validationMode(String validationMode)
When should Camel validate the FHIR Server's conformance statement.-
Methods inherited from interface org.apache.camel.builder.component.ComponentBuilder
build, build, doSetProperty, register
-
-
-
-
Method Detail
-
encoding
default FhirComponentBuilderFactory.FhirComponentBuilder encoding(String encoding)
Encoding to use for all request. The option is a:java.lang.String
type. Group: common
-
fhirVersion
default FhirComponentBuilderFactory.FhirComponentBuilder fhirVersion(String fhirVersion)
The FHIR Version to use. The option is a:java.lang.String
type. Default: R4 Group: common
-
log
default FhirComponentBuilderFactory.FhirComponentBuilder log(boolean log)
Will log every requests and responses. The option is a:boolean
type. Default: false Group: common
-
prettyPrint
default FhirComponentBuilderFactory.FhirComponentBuilder prettyPrint(boolean prettyPrint)
Pretty print all request. The option is a:boolean
type. Default: false Group: common
-
serverUrl
default FhirComponentBuilderFactory.FhirComponentBuilder serverUrl(String serverUrl)
The FHIR server base URL. The option is a:java.lang.String
type. Group: common
-
bridgeErrorHandler
default FhirComponentBuilderFactory.FhirComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a:boolean
type. Default: false Group: consumer
-
lazyStartProducer
default FhirComponentBuilderFactory.FhirComponentBuilder lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a:boolean
type. Default: false Group: producer
-
autowiredEnabled
default FhirComponentBuilderFactory.FhirComponentBuilder autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. The option is a:boolean
type. Default: true Group: advanced
-
client
default FhirComponentBuilderFactory.FhirComponentBuilder client(ca.uhn.fhir.rest.client.api.IGenericClient client)
To use the custom client. The option is a:ca.uhn.fhir.rest.client.api.IGenericClient
type. Group: advanced
-
clientFactory
default FhirComponentBuilderFactory.FhirComponentBuilder clientFactory(ca.uhn.fhir.rest.client.api.IRestfulClientFactory clientFactory)
To use the custom client factory. The option is a:ca.uhn.fhir.rest.client.api.IRestfulClientFactory
type. Group: advanced
-
compress
default FhirComponentBuilderFactory.FhirComponentBuilder compress(boolean compress)
Compresses outgoing (POST/PUT) contents to the GZIP format. The option is a:boolean
type. Default: false Group: advanced
-
configuration
default FhirComponentBuilderFactory.FhirComponentBuilder configuration(org.apache.camel.component.fhir.FhirConfiguration configuration)
To use the shared configuration. The option is a:org.apache.camel.component.fhir.FhirConfiguration
type. Group: advanced
-
connectionTimeout
default FhirComponentBuilderFactory.FhirComponentBuilder connectionTimeout(Integer connectionTimeout)
How long to try and establish the initial TCP connection (in ms). The option is a:java.lang.Integer
type. Default: 10000 Group: advanced
-
deferModelScanning
default FhirComponentBuilderFactory.FhirComponentBuilder deferModelScanning(boolean deferModelScanning)
When this option is set, model classes will not be scanned for children until the child list for the given type is actually accessed. The option is a:boolean
type. Default: false Group: advanced
-
fhirContext
default FhirComponentBuilderFactory.FhirComponentBuilder fhirContext(ca.uhn.fhir.context.FhirContext fhirContext)
FhirContext is an expensive object to create. To avoid creating multiple instances, it can be set directly. The option is a:ca.uhn.fhir.context.FhirContext
type. Group: advanced
-
forceConformanceCheck
default FhirComponentBuilderFactory.FhirComponentBuilder forceConformanceCheck(boolean forceConformanceCheck)
Force conformance check. The option is a:boolean
type. Default: false Group: advanced
-
sessionCookie
default FhirComponentBuilderFactory.FhirComponentBuilder sessionCookie(String sessionCookie)
HTTP session cookie to add to every request. The option is a:java.lang.String
type. Group: advanced
-
socketTimeout
default FhirComponentBuilderFactory.FhirComponentBuilder socketTimeout(Integer socketTimeout)
How long to block for individual read/write operations (in ms). The option is a:java.lang.Integer
type. Default: 10000 Group: advanced
-
summary
default FhirComponentBuilderFactory.FhirComponentBuilder summary(String summary)
Request that the server modify the response using the _summary param. The option is a:java.lang.String
type. Group: advanced
-
validationMode
default FhirComponentBuilderFactory.FhirComponentBuilder validationMode(String validationMode)
When should Camel validate the FHIR Server's conformance statement. The option is a:java.lang.String
type. Default: ONCE Group: advanced
-
proxyHost
default FhirComponentBuilderFactory.FhirComponentBuilder proxyHost(String proxyHost)
The proxy host. The option is a:java.lang.String
type. Group: proxy
-
proxyPassword
default FhirComponentBuilderFactory.FhirComponentBuilder proxyPassword(String proxyPassword)
The proxy password. The option is a:java.lang.String
type. Group: proxy
-
proxyPort
default FhirComponentBuilderFactory.FhirComponentBuilder proxyPort(Integer proxyPort)
The proxy port. The option is a:java.lang.Integer
type. Group: proxy
-
proxyUser
default FhirComponentBuilderFactory.FhirComponentBuilder proxyUser(String proxyUser)
The proxy username. The option is a:java.lang.String
type. Group: proxy
-
accessToken
default FhirComponentBuilderFactory.FhirComponentBuilder accessToken(String accessToken)
OAuth access token. The option is a:java.lang.String
type. Group: security
-
password
default FhirComponentBuilderFactory.FhirComponentBuilder password(String password)
Username to use for basic authentication. The option is a:java.lang.String
type. Group: security
-
username
default FhirComponentBuilderFactory.FhirComponentBuilder username(String username)
Username to use for basic authentication. The option is a:java.lang.String
type. Group: security
-
-