This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 11af21abf9c Regen
11af21abf9c is described below
commit 11af21abf9cd6aa55b308eecf7da23e88d2f528b
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Jan 19 13:22:28 2023 +0100
Regen
---
.../org/apache/camel/catalog/components.properties | 1 +
.../org/apache/camel/catalog/components/stomp.json | 54 ++++
.../apache/camel/catalog/main/sensitive-keys.json | 2 +
.../org/apache/camel/main/components.properties | 1 +
.../java/org/apache/camel/util/SensitiveUtils.java | 6 +-
.../component/ComponentsBuilderFactory.java | 14 +
.../dsl/StompComponentBuilderFactory.java | 312 +++++++++++++++++++++
.../src/generated/resources/metadata.json | 22 ++
.../camel-component-known-dependencies.properties | 1 -
9 files changed, 411 insertions(+), 2 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties
index 11689716ee6..df4ced0213c 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties
@@ -289,6 +289,7 @@ sql-stored
ssh
stax
stitch
+stomp
stream
string-template
stub
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/stomp.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/stomp.json
new file mode 100644
index 00000000000..73ffa9a94b6
--- /dev/null
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/stomp.json
@@ -0,0 +1,54 @@
+{
+ "component": {
+ "kind": "component",
+ "name": "stomp",
+ "title": "Stomp",
+ "description": "Send and rececive messages to\/from STOMP (Simple Text
Oriented Messaging Protocol) compliant message brokers.",
+ "deprecated": false,
+ "firstVersion": "2.12.0",
+ "label": "messaging",
+ "javaType": "org.apache.camel.component.stomp.StompComponent",
+ "supportLevel": "Stable",
+ "groupId": "org.apache.camel",
+ "artifactId": "camel-stomp",
+ "version": "4.0.0-SNAPSHOT",
+ "scheme": "stomp",
+ "extendsScheme": "",
+ "syntax": "stomp:destination",
+ "async": true,
+ "api": false,
+ "consumerOnly": false,
+ "producerOnly": false,
+ "lenientProperties": false
+ },
+ "componentProperties": {
+ "brokerURL": { "kind": "property", "displayName": "Broker URL", "group":
"common", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "defaultValue": "tcp:\/\/localhost:61613",
"configurationClass": "org.apache.camel.component.stomp.StompConfiguration",
"configurationField": "configuration", "description": "The URI of the Stomp
broker to connect to" },
+ "customHeaders": { "kind": "property", "displayName": "Custom Headers",
"group": "common", "label": "", "required": false, "type": "object",
"javaType": "java.util.Properties", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.stomp.StompConfiguration", "configurationField":
"configuration", "description": "To set custom headers" },
+ "host": { "kind": "property", "displayName": "Host", "group": "common",
"label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.stomp.StompConfiguration",
"configurationField": "configuration", "description": "The virtual host name" },
+ "version": { "kind": "property", "displayName": "Version", "group":
"common", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.stomp.StompConfiguration",
"configurationField": "configuration", "description": "The stomp version (1.1,
or 1.2)" },
+ "bridgeErrorHandler": { "kind": "property", "displayName": "Bridge Error
Handler", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Allows for bridging the
consumer to the Camel routing Error Handler, which mean any exceptions occurred
while the consumer is trying to pickup incoming messages, or the likes, will
now be processed as a me [...]
+ "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start
Producer", "group": "producer", "label": "producer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "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 star [...]
+ "autowiredEnabled": { "kind": "property", "displayName": "Autowired
Enabled", "group": "advanced", "label": "advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "description": "Whether autowiring is
enabled. This is used for automatic autowiring options (the option must be
marked as autowired) by looking up in the registry to find if there is a single
instance of matching type, which t [...]
+ "configuration": { "kind": "property", "displayName": "Configuration",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "org.apache.camel.component.stomp.StompConfiguration",
"deprecated": false, "autowired": false, "secret": false, "description":
"Component configuration." },
+ "headerFilterStrategy": { "kind": "property", "displayName": "Header
Filter Strategy", "group": "filter", "label": "filter", "required": false,
"type": "object", "javaType": "org.apache.camel.spi.HeaderFilterStrategy",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use a custom org.apache.camel.spi.HeaderFilterStrategy to filter header to and
from Camel message." },
+ "login": { "kind": "property", "displayName": "Login", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.stomp.StompConfiguration", "configurationField":
"configuration", "description": "The username" },
+ "passcode": { "kind": "property", "displayName": "Passcode", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.stomp.StompConfiguration", "configurationField":
"configuration", "description": "The password" },
+ "sslContextParameters": { "kind": "property", "displayName": "Ssl Context
Parameters", "group": "security", "label": "security", "required": false,
"type": "object", "javaType":
"org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.stomp.StompConfiguration", "configurationField":
"configuration", "description": "To configure security using
SSLContextParameters" },
+ "useGlobalSslContextParameters": { "kind": "property", "displayName": "Use
Global Ssl Context Parameters", "group": "security", "label": "security",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Enable usage of global SSL context parameters." }
+ },
+ "properties": {
+ "destination": { "kind": "path", "displayName": "Destination", "group":
"common", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "Name of the queue" },
+ "brokerURL": { "kind": "parameter", "displayName": "Broker URL", "group":
"common", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "defaultValue": "tcp:\/\/localhost:61613",
"configurationClass": "org.apache.camel.component.stomp.StompConfiguration",
"configurationField": "configuration", "description": "The URI of the Stomp
broker to connect to" },
+ "customHeaders": { "kind": "parameter", "displayName": "Custom Headers",
"group": "common", "label": "", "required": false, "type": "object",
"javaType": "java.util.Properties", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.stomp.StompConfiguration", "configurationField":
"configuration", "description": "To set custom headers" },
+ "host": { "kind": "parameter", "displayName": "Host", "group": "common",
"label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.stomp.StompConfiguration",
"configurationField": "configuration", "description": "The virtual host name" },
+ "version": { "kind": "parameter", "displayName": "Version", "group":
"common", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.stomp.StompConfiguration",
"configurationField": "configuration", "description": "The stomp version (1.1,
or 1.2)" },
+ "bridgeErrorHandler": { "kind": "parameter", "displayName": "Bridge Error
Handler", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Allows for bridging the consumer to the Camel routing Error
Handler, which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now [...]
+ "exceptionHandler": { "kind": "parameter", "displayName": "Exception
Handler", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.",
"deprecated": false, "autowired": false, "secret": false, "description": "To
let the consumer use a custom ExceptionHandler. Notice if the option
bridgeErrorHandler is enabled then this option is not in use. By default the
con [...]
+ "exchangePattern": { "kind": "parameter", "displayName": "Exchange
Pattern", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut",
"InOptionalOut" ], "deprecated": false, "autowired": false, "secret": false,
"description": "Sets the exchange pattern when the consumer creates an
exchange." },
+ "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start
Producer", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "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 other [...]
+ "headerFilterStrategy": { "kind": "parameter", "displayName": "Header
Filter Strategy", "group": "advanced", "label": "advanced", "required": false,
"type": "object", "javaType": "org.apache.camel.spi.HeaderFilterStrategy",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use a custom HeaderFilterStrategy to filter header to and from Camel message."
},
+ "login": { "kind": "parameter", "displayName": "Login", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.stomp.StompConfiguration", "configurationField":
"configuration", "description": "The username" },
+ "passcode": { "kind": "parameter", "displayName": "Passcode", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.stomp.StompConfiguration", "configurationField":
"configuration", "description": "The password" },
+ "sslContextParameters": { "kind": "parameter", "displayName": "Ssl Context
Parameters", "group": "security", "label": "security", "required": false,
"type": "object", "javaType":
"org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.stomp.StompConfiguration", "configurationField":
"configuration", "description": "To configure security using
SSLContextParameters" }
+ }
+}
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/sensitive-keys.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/sensitive-keys.json
index b6981868df0..a7d12b1e68b 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/sensitive-keys.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/sensitive-keys.json
@@ -23,6 +23,7 @@
"emailaddress",
"httpproxypassword",
"keystore",
+ "login",
"oauthaccesstoken",
"oauthappid",
"oauthappsecret",
@@ -31,6 +32,7 @@
"oauthtoken",
"oauthtokenurl",
"p12filename",
+ "passcode",
"passphrase",
"password",
"privatekey",
diff --git
a/core/camel-main/src/generated/resources/org/apache/camel/main/components.properties
b/core/camel-main/src/generated/resources/org/apache/camel/main/components.properties
index 11689716ee6..df4ced0213c 100644
---
a/core/camel-main/src/generated/resources/org/apache/camel/main/components.properties
+++
b/core/camel-main/src/generated/resources/org/apache/camel/main/components.properties
@@ -289,6 +289,7 @@ sql-stored
ssh
stax
stitch
+stomp
stream
string-template
stub
diff --git
a/core/camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java
b/core/camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java
index 0f42d0337f8..0931c10acbe 100644
--- a/core/camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java
+++ b/core/camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java
@@ -52,6 +52,7 @@ public final class SensitiveUtils {
"emailaddress",
"httpproxypassword",
"keystore",
+ "login",
"oauthaccesstoken",
"oauthappid",
"oauthappsecret",
@@ -60,6 +61,7 @@ public final class SensitiveUtils {
"oauthtoken",
"oauthtokenurl",
"p12filename",
+ "passcode",
"passphrase",
"password",
"privatekey",
@@ -124,6 +126,7 @@ public final class SensitiveUtils {
+ "|\\Qemailaddress\\E"
+
"|\\Qhttpproxypassword\\E"
+ "|\\Qkeystore\\E"
+ + "|\\Qlogin\\E"
+ "|\\Qoauthaccesstoken\\E"
+ "|\\Qoauthappid\\E"
+ "|\\Qoauthappsecret\\E"
@@ -132,6 +135,7 @@ public final class SensitiveUtils {
+ "|\\Qoauthtoken\\E"
+ "|\\Qoauthtokenurl\\E"
+ "|\\Qp12filename\\E"
+ + "|\\Qpasscode\\E"
+ "|\\Qpassphrase\\E"
+ "|\\Qpassword\\E"
+ "|\\Qprivatekey\\E"
@@ -166,7 +170,7 @@ public final class SensitiveUtils {
+ "|\\Qverificationcode\\E"
+
"|\\Qwebhookverifytoken\\E"
+
"|\\Qzookeeperpassword\\E"
- // SENSITIVE-PATTERN: END
+ // SENSITIVE-PATTERN: END
;
private SensitiveUtils() {
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
index 4c51ba4afbf..b0984f3604b 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
@@ -3911,6 +3911,20 @@ public interface ComponentsBuilderFactory {
static
org.apache.camel.builder.component.dsl.StitchComponentBuilderFactory.StitchComponentBuilder
stitch() {
return
org.apache.camel.builder.component.dsl.StitchComponentBuilderFactory.stitch();
}
+ /**
+ * Stomp (camel-stomp)
+ * Send and rececive messages to/from STOMP (Simple Text Oriented Messaging
+ * Protocol) compliant message brokers.
+ *
+ * Category: messaging
+ * Since: 2.12
+ * Maven coordinates: org.apache.camel:camel-stomp
+ *
+ * @return the dsl builder
+ */
+ static
org.apache.camel.builder.component.dsl.StompComponentBuilderFactory.StompComponentBuilder
stomp() {
+ return
org.apache.camel.builder.component.dsl.StompComponentBuilderFactory.stomp();
+ }
/**
* Stream (camel-stream)
* Read from system-in and write to system-out and system-err streams.
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/StompComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/StompComponentBuilderFactory.java
new file mode 100644
index 00000000000..d31ab853f43
--- /dev/null
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/StompComponentBuilderFactory.java
@@ -0,0 +1,312 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.builder.component.dsl;
+
+import javax.annotation.processing.Generated;
+import org.apache.camel.Component;
+import org.apache.camel.builder.component.AbstractComponentBuilder;
+import org.apache.camel.builder.component.ComponentBuilder;
+import org.apache.camel.component.stomp.StompComponent;
+
+/**
+ * Send and rececive messages to/from STOMP (Simple Text Oriented Messaging
+ * Protocol) compliant message brokers.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Generated("org.apache.camel.maven.packaging.ComponentDslMojo")
+public interface StompComponentBuilderFactory {
+
+ /**
+ * Stomp (camel-stomp)
+ * Send and rececive messages to/from STOMP (Simple Text Oriented Messaging
+ * Protocol) compliant message brokers.
+ *
+ * Category: messaging
+ * Since: 2.12
+ * Maven coordinates: org.apache.camel:camel-stomp
+ *
+ * @return the dsl builder
+ */
+ static StompComponentBuilder stomp() {
+ return new StompComponentBuilderImpl();
+ }
+
+ /**
+ * Builder for the Stomp component.
+ */
+ interface StompComponentBuilder extends ComponentBuilder<StompComponent> {
+ /**
+ * The URI of the Stomp broker to connect to.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Default: tcp://localhost:61613
+ * Group: common
+ *
+ * @param brokerURL the value to set
+ * @return the dsl builder
+ */
+ default StompComponentBuilder brokerURL(java.lang.String brokerURL) {
+ doSetProperty("brokerURL", brokerURL);
+ return this;
+ }
+ /**
+ * To set custom headers.
+ *
+ * The option is a: <code>java.util.Properties</code> type.
+ *
+ * Group: common
+ *
+ * @param customHeaders the value to set
+ * @return the dsl builder
+ */
+ default StompComponentBuilder customHeaders(
+ java.util.Properties customHeaders) {
+ doSetProperty("customHeaders", customHeaders);
+ return this;
+ }
+ /**
+ * The virtual host name.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: common
+ *
+ * @param host the value to set
+ * @return the dsl builder
+ */
+ default StompComponentBuilder host(java.lang.String host) {
+ doSetProperty("host", host);
+ return this;
+ }
+ /**
+ * The stomp version (1.1, or 1.2).
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: common
+ *
+ * @param version the value to set
+ * @return the dsl builder
+ */
+ default StompComponentBuilder version(java.lang.String version) {
+ doSetProperty("version", version);
+ return this;
+ }
+ /**
+ * Allows for bridging the consumer to the Camel routing Error Handler,
+ * which mean any exceptions occurred while the consumer is trying to
+ * pickup incoming messages, or the likes, will now be processed as a
+ * message and handled by the routing Error Handler. By default the
+ * consumer will use the org.apache.camel.spi.ExceptionHandler to deal
+ * with exceptions, that will be logged at WARN or ERROR level and
+ * ignored.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: consumer
+ *
+ * @param bridgeErrorHandler the value to set
+ * @return the dsl builder
+ */
+ default StompComponentBuilder bridgeErrorHandler(
+ boolean bridgeErrorHandler) {
+ doSetProperty("bridgeErrorHandler", bridgeErrorHandler);
+ return this;
+ }
+ /**
+ * 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
+ *
+ * @param lazyStartProducer the value to set
+ * @return the dsl builder
+ */
+ default StompComponentBuilder lazyStartProducer(
+ boolean lazyStartProducer) {
+ doSetProperty("lazyStartProducer", lazyStartProducer);
+ return this;
+ }
+ /**
+ * Whether autowiring is enabled. This is used for automatic autowiring
+ * options (the option must be marked as autowired) by looking up in
the
+ * registry to find if there is a single instance of matching type,
+ * which then gets configured on the component. This can be used for
+ * automatic configuring JDBC data sources, JMS connection factories,
+ * AWS Clients, etc.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: true
+ * Group: advanced
+ *
+ * @param autowiredEnabled the value to set
+ * @return the dsl builder
+ */
+ default StompComponentBuilder autowiredEnabled(boolean
autowiredEnabled) {
+ doSetProperty("autowiredEnabled", autowiredEnabled);
+ return this;
+ }
+ /**
+ * Component configuration.
+ *
+ * The option is a:
+ *
<code>org.apache.camel.component.stomp.StompConfiguration</code>
type.
+ *
+ * Group: advanced
+ *
+ * @param configuration the value to set
+ * @return the dsl builder
+ */
+ default StompComponentBuilder configuration(
+ org.apache.camel.component.stomp.StompConfiguration
configuration) {
+ doSetProperty("configuration", configuration);
+ return this;
+ }
+ /**
+ * To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter
+ * header to and from Camel message.
+ *
+ * The option is a:
+ * <code>org.apache.camel.spi.HeaderFilterStrategy</code>
+ * type.
+ *
+ * Group: filter
+ *
+ * @param headerFilterStrategy the value to set
+ * @return the dsl builder
+ */
+ default StompComponentBuilder headerFilterStrategy(
+ org.apache.camel.spi.HeaderFilterStrategy
headerFilterStrategy) {
+ doSetProperty("headerFilterStrategy", headerFilterStrategy);
+ return this;
+ }
+ /**
+ * The username.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param login the value to set
+ * @return the dsl builder
+ */
+ default StompComponentBuilder login(java.lang.String login) {
+ doSetProperty("login", login);
+ return this;
+ }
+ /**
+ * The password.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param passcode the value to set
+ * @return the dsl builder
+ */
+ default StompComponentBuilder passcode(java.lang.String passcode) {
+ doSetProperty("passcode", passcode);
+ return this;
+ }
+ /**
+ * To configure security using SSLContextParameters.
+ *
+ * The option is a:
+ *
<code>org.apache.camel.support.jsse.SSLContextParameters</code>
type.
+ *
+ * Group: security
+ *
+ * @param sslContextParameters the value to set
+ * @return the dsl builder
+ */
+ default StompComponentBuilder sslContextParameters(
+ org.apache.camel.support.jsse.SSLContextParameters
sslContextParameters) {
+ doSetProperty("sslContextParameters", sslContextParameters);
+ return this;
+ }
+ /**
+ * Enable usage of global SSL context parameters.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: security
+ *
+ * @param useGlobalSslContextParameters the value to set
+ * @return the dsl builder
+ */
+ default StompComponentBuilder useGlobalSslContextParameters(
+ boolean useGlobalSslContextParameters) {
+ doSetProperty("useGlobalSslContextParameters",
useGlobalSslContextParameters);
+ return this;
+ }
+ }
+
+ class StompComponentBuilderImpl
+ extends
+ AbstractComponentBuilder<StompComponent>
+ implements
+ StompComponentBuilder {
+ @Override
+ protected StompComponent buildConcreteComponent() {
+ return new StompComponent();
+ }
+ private org.apache.camel.component.stomp.StompConfiguration
getOrCreateConfiguration(
+ org.apache.camel.component.stomp.StompComponent component) {
+ if (component.getConfiguration() == null) {
+ component.setConfiguration(new
org.apache.camel.component.stomp.StompConfiguration());
+ }
+ return component.getConfiguration();
+ }
+ @Override
+ protected boolean setPropertyOnComponent(
+ Component component,
+ String name,
+ Object value) {
+ switch (name) {
+ case "brokerURL": getOrCreateConfiguration((StompComponent)
component).setBrokerURL((java.lang.String) value); return true;
+ case "customHeaders": getOrCreateConfiguration((StompComponent)
component).setCustomHeaders((java.util.Properties) value); return true;
+ case "host": getOrCreateConfiguration((StompComponent)
component).setHost((java.lang.String) value); return true;
+ case "version": getOrCreateConfiguration((StompComponent)
component).setVersion((java.lang.String) value); return true;
+ case "bridgeErrorHandler": ((StompComponent)
component).setBridgeErrorHandler((boolean) value); return true;
+ case "lazyStartProducer": ((StompComponent)
component).setLazyStartProducer((boolean) value); return true;
+ case "autowiredEnabled": ((StompComponent)
component).setAutowiredEnabled((boolean) value); return true;
+ case "configuration": ((StompComponent)
component).setConfiguration((org.apache.camel.component.stomp.StompConfiguration)
value); return true;
+ case "headerFilterStrategy": ((StompComponent)
component).setHeaderFilterStrategy((org.apache.camel.spi.HeaderFilterStrategy)
value); return true;
+ case "login": getOrCreateConfiguration((StompComponent)
component).setLogin((java.lang.String) value); return true;
+ case "passcode": getOrCreateConfiguration((StompComponent)
component).setPasscode((java.lang.String) value); return true;
+ case "sslContextParameters":
getOrCreateConfiguration((StompComponent)
component).setSslContextParameters((org.apache.camel.support.jsse.SSLContextParameters)
value); return true;
+ case "useGlobalSslContextParameters": ((StompComponent)
component).setUseGlobalSslContextParameters((boolean) value); return true;
+ default: return false;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/dsl/camel-componentdsl/src/generated/resources/metadata.json
b/dsl/camel-componentdsl/src/generated/resources/metadata.json
index 543777c77fc..ea31ec6f3a4 100644
--- a/dsl/camel-componentdsl/src/generated/resources/metadata.json
+++ b/dsl/camel-componentdsl/src/generated/resources/metadata.json
@@ -6457,6 +6457,28 @@
"producerOnly": true,
"lenientProperties": false
},
+ "StompComponentBuilderFactory": {
+ "kind": "component",
+ "name": "stomp",
+ "title": "Stomp",
+ "description": "Send and rececive messages to\/from STOMP (Simple Text
Oriented Messaging Protocol) compliant message brokers.",
+ "deprecated": false,
+ "firstVersion": "2.12.0",
+ "label": "messaging",
+ "javaType": "org.apache.camel.component.stomp.StompComponent",
+ "supportLevel": "Stable",
+ "groupId": "org.apache.camel",
+ "artifactId": "camel-stomp",
+ "version": "4.0.0-SNAPSHOT",
+ "scheme": "stomp",
+ "extendsScheme": "",
+ "syntax": "stomp:destination",
+ "async": true,
+ "api": false,
+ "consumerOnly": false,
+ "producerOnly": false,
+ "lenientProperties": false
+ },
"StreamComponentBuilderFactory": {
"kind": "component",
"name": "stream",
diff --git
a/dsl/camel-kamelet-main/src/generated/resources/camel-component-known-dependencies.properties
b/dsl/camel-kamelet-main/src/generated/resources/camel-component-known-dependencies.properties
index f5dea4ed829..993b4022c5d 100644
---
a/dsl/camel-kamelet-main/src/generated/resources/camel-component-known-dependencies.properties
+++
b/dsl/camel-kamelet-main/src/generated/resources/camel-component-known-dependencies.properties
@@ -283,7 +283,6 @@ org.apache.camel.component.solr.SolrComponent=camel:solr
org.apache.camel.component.splunk.SplunkComponent=camel:splunk
org.apache.camel.component.splunkhec.SplunkHECComponent=camel:splunk-hec
org.apache.camel.component.spring.batch.SpringBatchComponent=camel:spring-batch
-org.apache.camel.component.spring.integration.SpringIntegrationComponent=camel:spring-integration
org.apache.camel.component.spring.jdbc.SpringJdbcComponent=camel:spring-jdbc
org.apache.camel.component.spring.ws.SpringWebserviceComponent=camel:spring-ws
org.apache.camel.component.springldap.SpringLdapComponent=camel:spring-ldap