Interface KnativeEndpointBuilderFactory.KnativeEndpointProducerBuilder

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

    public static interface KnativeEndpointBuilderFactory.KnativeEndpointProducerBuilder
    extends org.apache.camel.builder.EndpointProducerBuilder
    Builder for endpoint producers for the Knative component.
    • Method Detail

      • ceOverride

        default KnativeEndpointBuilderFactory.KnativeEndpointProducerBuilder ceOverride​(String ceOverride)
        CloudEvent headers to override. The option will be converted to a <code>java.util.Map&lt;java.lang.String, java.lang.String&gt;</code> type. Group: common
        Parameters:
        ceOverride - the value to set
        Returns:
        the dsl builder
      • cloudEventsSpecVersion

        default KnativeEndpointBuilderFactory.KnativeEndpointProducerBuilder cloudEventsSpecVersion​(String cloudEventsSpecVersion)
        Set the version of the cloudevents spec. The option is a: <code>java.lang.String</code> type. Default: 1.0 Group: common
        Parameters:
        cloudEventsSpecVersion - the value to set
        Returns:
        the dsl builder
      • cloudEventsType

        default KnativeEndpointBuilderFactory.KnativeEndpointProducerBuilder cloudEventsType​(String cloudEventsType)
        Set the event-type information of the produced events. The option is a: <code>java.lang.String</code> type. Default: org.apache.camel.event Group: common
        Parameters:
        cloudEventsType - the value to set
        Returns:
        the dsl builder
      • environment

        default KnativeEndpointBuilderFactory.KnativeEndpointProducerBuilder environment​(org.apache.camel.component.knative.spi.KnativeEnvironment environment)
        The environment. The option is a: <code>org.apache.camel.component.knative.spi.KnativeEnvironment</code> type. Group: common
        Parameters:
        environment - the value to set
        Returns:
        the dsl builder
      • environment

        default KnativeEndpointBuilderFactory.KnativeEndpointProducerBuilder environment​(String environment)
        The environment. The option will be converted to a <code>org.apache.camel.component.knative.spi.KnativeEnvironment</code> type. Group: common
        Parameters:
        environment - the value to set
        Returns:
        the dsl builder
      • transportOptions

        default KnativeEndpointBuilderFactory.KnativeEndpointProducerBuilder transportOptions​(String transportOptions)
        Set the transport options. The option will be converted to a <code>java.util.Map&lt;java.lang.String, java.lang.Object&gt;</code> type. Group: common
        Parameters:
        transportOptions - the value to set
        Returns:
        the dsl builder
      • lazyStartProducer

        default KnativeEndpointBuilderFactory.KnativeEndpointProducerBuilder 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 KnativeEndpointBuilderFactory.KnativeEndpointProducerBuilder 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