Interface FhirComponentBuilderFactory.FhirComponentBuilder

    • Method Detail

      • fhirVersion

        default FhirComponentBuilderFactory.FhirComponentBuilder fhirVersion​(String fhirVersion)
        The FHIR Version to use. The option is a: <code>java.lang.String</code> type. Default: R4 Group: common
        Parameters:
        fhirVersion - the value to set
        Returns:
        the dsl builder
      • log

        default FhirComponentBuilderFactory.FhirComponentBuilder log​(boolean log)
        Will log every requests and responses. The option is a: <code>boolean</code> type. Default: false Group: common
        Parameters:
        log - the value to set
        Returns:
        the dsl builder
      • prettyPrint

        default FhirComponentBuilderFactory.FhirComponentBuilder prettyPrint​(boolean prettyPrint)
        Pretty print all request. The option is a: <code>boolean</code> type. Default: false Group: common
        Parameters:
        prettyPrint - the value to set
        Returns:
        the dsl builder
      • 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: <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        bridgeErrorHandler - the value to set
        Returns:
        the dsl builder
      • 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: <code>boolean</code> type. Default: false Group: producer
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • 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: <code>boolean</code> type. Default: true Group: advanced
        Parameters:
        autowiredEnabled - the value to set
        Returns:
        the dsl builder
      • client

        default FhirComponentBuilderFactory.FhirComponentBuilder client​(ca.uhn.fhir.rest.client.api.IGenericClient client)
        To use the custom client. The option is a: <code>ca.uhn.fhir.rest.client.api.IGenericClient</code> type. Group: advanced
        Parameters:
        client - the value to set
        Returns:
        the dsl builder
      • clientFactory

        default FhirComponentBuilderFactory.FhirComponentBuilder clientFactory​(ca.uhn.fhir.rest.client.api.IRestfulClientFactory clientFactory)
        To use the custom client factory. The option is a: <code>ca.uhn.fhir.rest.client.api.IRestfulClientFactory</code> type. Group: advanced
        Parameters:
        clientFactory - the value to set
        Returns:
        the dsl builder
      • compress

        default FhirComponentBuilderFactory.FhirComponentBuilder compress​(boolean compress)
        Compresses outgoing (POST/PUT) contents to the GZIP format. The option is a: <code>boolean</code> type. Default: false Group: advanced
        Parameters:
        compress - the value to set
        Returns:
        the dsl builder
      • configuration

        default FhirComponentBuilderFactory.FhirComponentBuilder configuration​(org.apache.camel.component.fhir.FhirConfiguration configuration)
        To use the shared configuration. The option is a: <code>org.apache.camel.component.fhir.FhirConfiguration</code> type. Group: advanced
        Parameters:
        configuration - the value to set
        Returns:
        the dsl builder
      • connectionTimeout

        default FhirComponentBuilderFactory.FhirComponentBuilder connectionTimeout​(Integer connectionTimeout)
        How long to try and establish the initial TCP connection (in ms). The option is a: <code>java.lang.Integer</code> type. Default: 10000 Group: advanced
        Parameters:
        connectionTimeout - the value to set
        Returns:
        the dsl builder
      • 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: <code>boolean</code> type. Default: false Group: advanced
        Parameters:
        deferModelScanning - the value to set
        Returns:
        the dsl builder
      • 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: <code>ca.uhn.fhir.context.FhirContext</code> type. Group: advanced
        Parameters:
        fhirContext - the value to set
        Returns:
        the dsl builder
      • forceConformanceCheck

        default FhirComponentBuilderFactory.FhirComponentBuilder forceConformanceCheck​(boolean forceConformanceCheck)
        Force conformance check. The option is a: <code>boolean</code> type. Default: false Group: advanced
        Parameters:
        forceConformanceCheck - the value to set
        Returns:
        the dsl builder
      • sessionCookie

        default FhirComponentBuilderFactory.FhirComponentBuilder sessionCookie​(String sessionCookie)
        HTTP session cookie to add to every request. The option is a: <code>java.lang.String</code> type. Group: advanced
        Parameters:
        sessionCookie - the value to set
        Returns:
        the dsl builder
      • socketTimeout

        default FhirComponentBuilderFactory.FhirComponentBuilder socketTimeout​(Integer socketTimeout)
        How long to block for individual read/write operations (in ms). The option is a: <code>java.lang.Integer</code> type. Default: 10000 Group: advanced
        Parameters:
        socketTimeout - the value to set
        Returns:
        the dsl builder
      • summary

        default FhirComponentBuilderFactory.FhirComponentBuilder summary​(String summary)
        Request that the server modify the response using the _summary param. The option is a: <code>java.lang.String</code> type. Group: advanced
        Parameters:
        summary - the value to set
        Returns:
        the dsl builder
      • validationMode

        default FhirComponentBuilderFactory.FhirComponentBuilder validationMode​(String validationMode)
        When should Camel validate the FHIR Server's conformance statement. The option is a: <code>java.lang.String</code> type. Default: ONCE Group: advanced
        Parameters:
        validationMode - the value to set
        Returns:
        the dsl builder
      • proxyPassword

        default FhirComponentBuilderFactory.FhirComponentBuilder proxyPassword​(String proxyPassword)
        The proxy password. The option is a: <code>java.lang.String</code> type. Group: proxy
        Parameters:
        proxyPassword - the value to set
        Returns:
        the dsl builder
      • password

        default FhirComponentBuilderFactory.FhirComponentBuilder password​(String password)
        Username to use for basic authentication. The option is a: <code>java.lang.String</code> type. Group: security
        Parameters:
        password - the value to set
        Returns:
        the dsl builder
      • username

        default FhirComponentBuilderFactory.FhirComponentBuilder username​(String username)
        Username to use for basic authentication. The option is a: <code>java.lang.String</code> type. Group: security
        Parameters:
        username - the value to set
        Returns:
        the dsl builder