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 Summary
Modifier and TypeMethodDescriptionadvanced()
ceOverride
(String ceOverride) CloudEvent headers to override.ceOverride
(Map<String, String> ceOverride) CloudEvent headers to override.cloudEventsSpecVersion
(String cloudEventsSpecVersion) Set the version of the cloudevents spec.cloudEventsType
(String cloudEventsType) Set the event-type information of the produced events.environment
(String environment) The environment.environment
(org.apache.camel.component.knative.spi.KnativeEnvironment environment) The environment.Set the filters.Set the filters.replyWithCloudEvent
(boolean replyWithCloudEvent) Transforms the reply into a cloud event that will be processed by the caller.replyWithCloudEvent
(String replyWithCloudEvent) Transforms the reply into a cloud event that will be processed by the caller.sinkBinding
(String sinkBinding) The SinkBinding configuration.sinkBinding
(org.apache.camel.component.knative.spi.KnativeSinkBinding sinkBinding) The SinkBinding configuration.transportOptions
(String transportOptions) Set the transport options.transportOptions
(Map<String, Object> transportOptions) Set the transport options.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
-
Method Details
-
advanced
-
ceOverride
default KnativeEndpointBuilderFactory.KnativeEndpointConsumerBuilder ceOverride(Map<String, String> ceOverride) CloudEvent headers to override. The option is a: <code>java.util.Map<java.lang.String, java.lang.String></code> type. Group: common- Parameters:
ceOverride
- the value to set- Returns:
- the dsl builder
-
ceOverride
CloudEvent headers to override. The option will be converted to a <code>java.util.Map<java.lang.String, java.lang.String></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
-
filters
default KnativeEndpointBuilderFactory.KnativeEndpointConsumerBuilder filters(Map<String, String> filters) Set the filters. The option is a: <code>java.util.Map<java.lang.String, java.lang.String></code> type. Group: common- Parameters:
filters
- the value to set- Returns:
- the dsl builder
-
filters
Set the filters. The option will be converted to a <code>java.util.Map<java.lang.String, java.lang.String></code> type. Group: common- Parameters:
filters
- the value to set- Returns:
- the dsl builder
-
sinkBinding
default KnativeEndpointBuilderFactory.KnativeEndpointConsumerBuilder sinkBinding(org.apache.camel.component.knative.spi.KnativeSinkBinding sinkBinding) The SinkBinding configuration. The option is a: <code>org.apache.camel.component.knative.spi.KnativeSinkBinding</code> type. Group: common- Parameters:
sinkBinding
- the value to set- Returns:
- the dsl builder
-
sinkBinding
default KnativeEndpointBuilderFactory.KnativeEndpointConsumerBuilder sinkBinding(String sinkBinding) The SinkBinding configuration. The option will be converted to a <code>org.apache.camel.component.knative.spi.KnativeSinkBinding</code> type. Group: common- Parameters:
sinkBinding
- the value to set- Returns:
- the dsl builder
-
transportOptions
default KnativeEndpointBuilderFactory.KnativeEndpointConsumerBuilder transportOptions(Map<String, Object> transportOptions) Set the transport options. The option is a: <code>java.util.Map<java.lang.String, java.lang.Object></code> type. Group: common- Parameters:
transportOptions
- 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<java.lang.String, java.lang.Object></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
-