Interface KnativeEndpointBuilderFactory.KnativeEndpointConsumerBuilder

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

    public static interface KnativeEndpointBuilderFactory.KnativeEndpointConsumerBuilder
    extends org.apache.camel.builder.EndpointConsumerBuilder
    Builder for endpoint consumers for the Knative component.
    • Method Detail

      • ceOverride

        default KnativeEndpointBuilderFactory.KnativeEndpointConsumerBuilder 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.KnativeEndpointConsumerBuilder 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.KnativeEndpointConsumerBuilder 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.KnativeEndpointConsumerBuilder 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.KnativeEndpointConsumerBuilder 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.KnativeEndpointConsumerBuilder 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
      • replyWithCloudEvent

        default KnativeEndpointBuilderFactory.KnativeEndpointConsumerBuilder replyWithCloudEvent​(boolean replyWithCloudEvent)
        Transforms the reply into a cloud event that will be processed by the caller. When listening to events from a Knative Broker, if this flag is enabled, replies will be published to the same Broker where the request comes from (beware that if you don't change the type of the received message, you may create a loop and receive your same reply). When this flag is disabled, CloudEvent headers are removed from the reply. The option is a: <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        replyWithCloudEvent - the value to set
        Returns:
        the dsl builder
      • replyWithCloudEvent

        default KnativeEndpointBuilderFactory.KnativeEndpointConsumerBuilder replyWithCloudEvent​(String replyWithCloudEvent)
        Transforms the reply into a cloud event that will be processed by the caller. When listening to events from a Knative Broker, if this flag is enabled, replies will be published to the same Broker where the request comes from (beware that if you don't change the type of the received message, you may create a loop and receive your same reply). When this flag is disabled, CloudEvent headers are removed from the reply. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        replyWithCloudEvent - the value to set
        Returns:
        the dsl builder