Interface KnativeEndpointBuilderFactory.KnativeEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver,KnativeEndpointBuilderFactory.KnativeEndpointConsumerBuilder,KnativeEndpointBuilderFactory.KnativeEndpointProducerBuilder
- Enclosing interface:
- KnativeEndpointBuilderFactory
public static interface KnativeEndpointBuilderFactory.KnativeEndpointBuilder
extends KnativeEndpointBuilderFactory.KnativeEndpointConsumerBuilder, KnativeEndpointBuilderFactory.KnativeEndpointProducerBuilder
Builder for endpoint 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.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, getUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.endpoint.dsl.KnativeEndpointBuilderFactory.KnativeEndpointConsumerBuilder
replyWithCloudEvent, replyWithCloudEvent
-
Method Details
-
advanced
- Specified by:
advancedin interfaceKnativeEndpointBuilderFactory.KnativeEndpointConsumerBuilder- Specified by:
advancedin interfaceKnativeEndpointBuilderFactory.KnativeEndpointProducerBuilder
-
ceOverride
default KnativeEndpointBuilderFactory.KnativeEndpointBuilder 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- Specified by:
ceOverridein interfaceKnativeEndpointBuilderFactory.KnativeEndpointConsumerBuilder- Specified by:
ceOverridein interfaceKnativeEndpointBuilderFactory.KnativeEndpointProducerBuilder- 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- Specified by:
ceOverridein interfaceKnativeEndpointBuilderFactory.KnativeEndpointConsumerBuilder- Specified by:
ceOverridein interfaceKnativeEndpointBuilderFactory.KnativeEndpointProducerBuilder- Parameters:
ceOverride- the value to set- Returns:
- the dsl builder
-
cloudEventsSpecVersion
default KnativeEndpointBuilderFactory.KnativeEndpointBuilder 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- Specified by:
cloudEventsSpecVersionin interfaceKnativeEndpointBuilderFactory.KnativeEndpointConsumerBuilder- Specified by:
cloudEventsSpecVersionin interfaceKnativeEndpointBuilderFactory.KnativeEndpointProducerBuilder- Parameters:
cloudEventsSpecVersion- the value to set- Returns:
- the dsl builder
-
cloudEventsType
default KnativeEndpointBuilderFactory.KnativeEndpointBuilder 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- Specified by:
cloudEventsTypein interfaceKnativeEndpointBuilderFactory.KnativeEndpointConsumerBuilder- Specified by:
cloudEventsTypein interfaceKnativeEndpointBuilderFactory.KnativeEndpointProducerBuilder- Parameters:
cloudEventsType- the value to set- Returns:
- the dsl builder
-
environment
default KnativeEndpointBuilderFactory.KnativeEndpointBuilder 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- Specified by:
environmentin interfaceKnativeEndpointBuilderFactory.KnativeEndpointConsumerBuilder- Specified by:
environmentin interfaceKnativeEndpointBuilderFactory.KnativeEndpointProducerBuilder- Parameters:
environment- the value to set- Returns:
- the dsl builder
-
environment
The environment. The option will be converted to a <code>org.apache.camel.component.knative.spi.KnativeEnvironment</code> type. Group: common- Specified by:
environmentin interfaceKnativeEndpointBuilderFactory.KnativeEndpointConsumerBuilder- Specified by:
environmentin interfaceKnativeEndpointBuilderFactory.KnativeEndpointProducerBuilder- Parameters:
environment- the value to set- Returns:
- the dsl builder
-
filters
Set the filters. The option is a: <code>java.util.Map<java.lang.String, java.lang.String></code> type. Group: common- Specified by:
filtersin interfaceKnativeEndpointBuilderFactory.KnativeEndpointConsumerBuilder- Specified by:
filtersin interfaceKnativeEndpointBuilderFactory.KnativeEndpointProducerBuilder- 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- Specified by:
filtersin interfaceKnativeEndpointBuilderFactory.KnativeEndpointConsumerBuilder- Specified by:
filtersin interfaceKnativeEndpointBuilderFactory.KnativeEndpointProducerBuilder- Parameters:
filters- the value to set- Returns:
- the dsl builder
-
transportOptions
default KnativeEndpointBuilderFactory.KnativeEndpointBuilder 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- Specified by:
transportOptionsin interfaceKnativeEndpointBuilderFactory.KnativeEndpointConsumerBuilder- Specified by:
transportOptionsin interfaceKnativeEndpointBuilderFactory.KnativeEndpointProducerBuilder- Parameters:
transportOptions- the value to set- Returns:
- the dsl builder
-
transportOptions
default KnativeEndpointBuilderFactory.KnativeEndpointBuilder 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- Specified by:
transportOptionsin interfaceKnativeEndpointBuilderFactory.KnativeEndpointConsumerBuilder- Specified by:
transportOptionsin interfaceKnativeEndpointBuilderFactory.KnativeEndpointProducerBuilder- Parameters:
transportOptions- the value to set- Returns:
- the dsl builder
-