Interface FhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointProducerBuilder, org.apache.camel.EndpointProducerResolver
    All Known Subinterfaces:
    FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder
    Enclosing interface:
    FhirEndpointBuilderFactory

    public static interface FhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder
    extends org.apache.camel.builder.EndpointProducerBuilder
    Advanced builder for endpoint producers for the FHIR component.
    • Method Detail

      • lazyStartProducer

        default FhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder 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 (advanced)
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • lazyStartProducer

        default FhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder lazyStartProducer​(String 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 will be converted to a <code>boolean</code> type. Default: false Group: producer (advanced)
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • client

        default FhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder 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 FhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder 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
      • clientFactory

        default FhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder clientFactory​(String clientFactory)
        To use the custom client factory. The option will be converted to 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 FhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder 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
      • connectionTimeout

        default FhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder 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
      • connectionTimeout

        default FhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder connectionTimeout​(String connectionTimeout)
        How long to try and establish the initial TCP connection (in ms). The option will be converted to a <code>java.lang.Integer</code> type. Default: 10000 Group: advanced
        Parameters:
        connectionTimeout - the value to set
        Returns:
        the dsl builder
      • deferModelScanning

        default FhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder 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
      • deferModelScanning

        default FhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder deferModelScanning​(String 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 will be converted to a <code>boolean</code> type. Default: false Group: advanced
        Parameters:
        deferModelScanning - the value to set
        Returns:
        the dsl builder
      • fhirContext

        default FhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder 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
      • fhirContext

        default FhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder fhirContext​(String fhirContext)
        FhirContext is an expensive object to create. To avoid creating multiple instances, it can be set directly. The option will be converted to a <code>ca.uhn.fhir.context.FhirContext</code> type. Group: advanced
        Parameters:
        fhirContext - the value to set
        Returns:
        the dsl builder
      • forceConformanceCheck

        default FhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder 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
      • forceConformanceCheck

        default FhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder forceConformanceCheck​(String forceConformanceCheck)
        Force conformance check. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced
        Parameters:
        forceConformanceCheck - the value to set
        Returns:
        the dsl builder
      • socketTimeout

        default FhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder 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
      • socketTimeout

        default FhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder socketTimeout​(String socketTimeout)
        How long to block for individual read/write operations (in ms). The option will be converted to a <code>java.lang.Integer</code> type. Default: 10000 Group: advanced
        Parameters:
        socketTimeout - the value to set
        Returns:
        the dsl builder
      • validationMode

        default FhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder 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