Interface XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder

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

    public static interface XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder
    extends org.apache.camel.builder.EndpointProducerBuilder
    Builder for endpoint producers for the XQuery component.
    • Method Detail

      • headerName

        default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder headerName​(String headerName)
        To use a Camel Message header as the input source instead of Message body. The option is a: <code>java.lang.String</code> type. Group: common
        Parameters:
        headerName - the value to set
        Returns:
        the dsl builder
      • namespacePrefixes

        default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder namespacePrefixes​(Map<String,​String> namespacePrefixes)
        Allows to control which namespace prefixes to use for a set of namespace mappings. The option is a: <code>java.util.Map&lt;java.lang.String, java.lang.String&gt;</code> type. Group: common
        Parameters:
        namespacePrefixes - the value to set
        Returns:
        the dsl builder
      • namespacePrefixes

        default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder namespacePrefixes​(String namespacePrefixes)
        Allows to control which namespace prefixes to use for a set of namespace mappings. The option will be converted to a <code>java.util.Map&lt;java.lang.String, java.lang.String&gt;</code> type. Group: common
        Parameters:
        namespacePrefixes - the value to set
        Returns:
        the dsl builder
      • resultsFormat

        default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder resultsFormat​(String resultsFormat)
        What output result to use. The option will be converted to a <code>org.apache.camel.component.xquery.ResultFormat</code> type. Default: DOM Group: common
        Parameters:
        resultsFormat - the value to set
        Returns:
        the dsl builder
      • resultType

        default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder resultType​(String resultType)
        What output result to use defined as a class. The option will be converted to a <code>java.lang.Class&lt;java.lang.Object&gt;</code> type. Group: common
        Parameters:
        resultType - the value to set
        Returns:
        the dsl builder
      • stripsAllWhiteSpace

        default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder stripsAllWhiteSpace​(boolean stripsAllWhiteSpace)
        Whether to strip all whitespaces. The option is a: <code>boolean</code> type. Default: true Group: common
        Parameters:
        stripsAllWhiteSpace - the value to set
        Returns:
        the dsl builder
      • stripsAllWhiteSpace

        default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder stripsAllWhiteSpace​(String stripsAllWhiteSpace)
        Whether to strip all whitespaces. The option will be converted to a <code>boolean</code> type. Default: true Group: common
        Parameters:
        stripsAllWhiteSpace - the value to set
        Returns:
        the dsl builder
      • lazyStartProducer

        default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder 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
      • lazyStartProducer

        default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder 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
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder