Interface SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointProducerBuilder, org.apache.camel.EndpointProducerResolver
    Enclosing interface:
    SqlStoredEndpointBuilderFactory

    public static interface SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder
    extends org.apache.camel.builder.EndpointProducerBuilder
    Builder for endpoint for the SQL Stored Procedure component.
    • Method Detail

      • lazyStartProducer

        default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder 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
      • lazyStartProducer

        default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder 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 boolean type. Default: false Group: producer
      • noop

        default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder noop​(boolean noop)
        If set, will ignore the results of the template and use the existing IN message as the OUT message for the continuation of processing. The option is a: boolean type. Default: false Group: producer
      • outputHeader

        default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder outputHeader​(String outputHeader)
        Store the template result in a header instead of the message body. By default, outputHeader == null and the template result is stored in the message body, any existing content in the message body is discarded. If outputHeader is set, the value is used as the name of the header to store the template result and the original message body is preserved. The option is a: java.lang.String type. Group: producer
      • useMessageBodyForTemplate

        default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder useMessageBodyForTemplate​(boolean useMessageBodyForTemplate)
        Whether to use the message body as the template and then headers for parameters. If this option is enabled then the template in the uri is not used. The option is a: boolean type. Default: false Group: producer
      • useMessageBodyForTemplate

        default SqlStoredEndpointBuilderFactory.SqlStoredEndpointBuilder useMessageBodyForTemplate​(String useMessageBodyForTemplate)
        Whether to use the message body as the template and then headers for parameters. If this option is enabled then the template in the uri is not used. The option will be converted to a boolean type. Default: false Group: producer