This is an automated email from the ASF dual-hosted git repository. apupier pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit dd6680768467bfaf81e980ee94f705c28bac69af Author: Guillaume Nodet <[email protected]> AuthorDate: Wed Sep 30 07:15:37 2026 +0000 Regen --- .../builder/endpoint/EndpointHeaderBuilders.java | 13 +++ .../dsl/KnativeEndpointBuilderFactory.java | 123 +++++++++++++++++++++ 2 files changed, 136 insertions(+) diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointHeaderBuilders.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointHeaderBuilders.java index 39430a9456c7..2ac07a05b1f5 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointHeaderBuilders.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointHeaderBuilders.java @@ -2320,6 +2320,19 @@ public class EndpointHeaderBuilders { public static KeycloakEndpointBuilderFactory.KeycloakHeaderNameBuilder keycloak() { return KeycloakEndpointBuilderFactory.KeycloakHeaderNameBuilder.INSTANCE; } + /** + * Knative (camel-knative) + * Send and receive events from Knative. + * + * Category: cloud + * Since: 3.15 + * Maven coordinates: org.apache.camel:camel-knative + * + * @return the dsl builder for the headers' name. + */ + public static KnativeEndpointBuilderFactory.KnativeHeaderNameBuilder knative() { + return KnativeEndpointBuilderFactory.KnativeHeaderNameBuilder.INSTANCE; + } /** * KServe (camel-kserve) * Provide access to AI model servers with the KServe standard to run diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KnativeEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KnativeEndpointBuilderFactory.java index eeb860d74fc3..d8185b6c2d19 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KnativeEndpointBuilderFactory.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KnativeEndpointBuilderFactory.java @@ -1048,6 +1048,19 @@ public interface KnativeEndpointBuilderFactory { } public interface KnativeBuilders { + /** + * Knative (camel-knative) + * Send and receive events from Knative. + * + * Category: cloud + * Since: 3.15 + * Maven coordinates: org.apache.camel:camel-knative + * + * @return the dsl builder for the headers' name. + */ + default KnativeHeaderNameBuilder knative() { + return KnativeHeaderNameBuilder.INSTANCE; + } /** * Knative (camel-knative) * Send and receive events from Knative. @@ -1100,6 +1113,116 @@ public interface KnativeEndpointBuilderFactory { } } + /** + * The builder of headers' name for the Knative component. + */ + public static class KnativeHeaderNameBuilder { + /** + * The internal instance of the builder used to access to all the + * methods representing the name of headers. + */ + public static final KnativeHeaderNameBuilder INSTANCE = new KnativeHeaderNameBuilder(); + + /** + * The event ID. The producer uses the exchange ID when not set. + * + * The option is a: {@code String} type. + * + * Group: common + * + * @return the name of the header {@code CloudEventID}. + */ + public String cloudEventID() { + return "CamelCloudEventID"; + } + /** + * The event source. The producer uses the route ID when not set. + * + * The option is a: {@code String} type. + * + * Group: common + * + * @return the name of the header {@code CloudEventSource}. + */ + public String cloudEventSource() { + return "CamelCloudEventSource"; + } + /** + * The CloudEvents specification version. The producer uses the + * configured version when not set. + * + * The option is a: {@code String} type. + * + * Group: common + * + * @return the name of the header {@code CloudEventVersion}. + */ + public String cloudEventVersion() { + return "CamelCloudEventVersion"; + } + /** + * The event type. On a knative event endpoint with a type ID in the + * URI, the type ID takes precedence over this header. + * + * The option is a: {@code String} type. + * + * Group: common + * + * @return the name of the header {@code CloudEventType}. + */ + public String cloudEventType() { + return "CamelCloudEventType"; + } + /** + * The content type of the event data. + * + * The option is a: {@code String} type. + * + * Group: common + * + * @return the name of the header {@code CloudEventDataContentType}. + */ + public String cloudEventDataContentType() { + return "CamelCloudEventDataContentType"; + } + /** + * The URI of the schema that the event data adheres to. + * + * The option is a: {@code String} type. + * + * Group: common + * + * @return the name of the header {@code CloudEventSchemaURL}. + */ + public String cloudEventSchemaURL() { + return "CamelCloudEventSchemaURL"; + } + /** + * The subject of the event in the context of the event source. + * + * The option is a: {@code String} type. + * + * Group: common + * + * @return the name of the header {@code CloudEventSubject}. + */ + public String cloudEventSubject() { + return "CamelCloudEventSubject"; + } + /** + * The time the event occurred. The producer uses the exchange creation + * time when not set. + * + * The option is a: {@code String} type. + * + * Group: common + * + * @return the name of the header {@code CloudEventTime}. + */ + public String cloudEventTime() { + return "CamelCloudEventTime"; + } + } static KnativeEndpointBuilder endpointBuilder(String componentName, String path) { class KnativeEndpointBuilderImpl extends AbstractEndpointBuilder implements KnativeEndpointBuilder, AdvancedKnativeEndpointBuilder { public KnativeEndpointBuilderImpl(String path) {
