You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/02/09 09:17:15 UTC

[camel] branch camel-3.x updated: Regen for commit 6b888fdc0bac6caf568d27b61cd64764f1cceb1c

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch camel-3.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-3.x by this push:
     new 5db497fbdc6 Regen for commit 6b888fdc0bac6caf568d27b61cd64764f1cceb1c
5db497fbdc6 is described below

commit 5db497fbdc698fe28b3b7a0f5ede9a8777f10327
Author: davsclaus <da...@users.noreply.github.com>
AuthorDate: Thu Feb 9 09:14:10 2023 +0000

    Regen for commit 6b888fdc0bac6caf568d27b61cd64764f1cceb1c
    
    Signed-off-by: GitHub <no...@github.com>
---
 .../main/camel-main-configuration-metadata.json    |  1 +
 .../apache/camel/support/CamelContextHelper.java   |  3 +-
 .../dsl/VertxWebsocketEndpointBuilderFactory.java  | 49 ++++++++++++++++++++++
 3 files changed, 51 insertions(+), 2 deletions(-)

diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/camel-main-configuration-metadata.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/camel-main-configuration-metadata.json
index c614a5232d4..70d4bde8a88 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/camel-main-configuration-metadata.json
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/camel-main-configuration-metadata.json
@@ -21,6 +21,7 @@
     { "name": "camel.main.autoStartup", "description": "Sets whether the object should automatically start when Camel starts. Important: Currently only routes can be disabled, as CamelContext's are always started. Note: When setting auto startup false on CamelContext then that takes precedence and no routes are started. You would need to start CamelContext explicit using the org.apache.camel.CamelContext.start() method, to start the context, and then you would need to start the routes ma [...]
     { "name": "camel.main.autowiredEnabled", "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 then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. Default is true.", "sourceType": "org.apache.camel.main.DefaultConfiguration [...]
     { "name": "camel.main.backlogTracing", "description": "Sets whether backlog tracing is enabled or not. Default is false.", "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": "false" },
+    { "name": "camel.main.backlogTracingStandby", "description": "Whether to set backlog tracing on standby. If on standby then the backlog tracer is installed and made available. Then the backlog tracer can be enabled later at runtime via JMX or via Java API. Default is false.", "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": "false" },
     { "name": "camel.main.basePackageScan", "description": "Package name to use as base (offset) for classpath scanning of RouteBuilder , and org.apache.camel.TypeConverter classes. If you are using Spring Boot then it is instead recommended to use Spring Boots component scanning and annotate your route builder classes with Component. In other words only use this for Camel Main in standalone mode.", "sourceType": "org.apache.camel.main.MainConfigurationProperties", "type": "string", "jav [...]
     { "name": "camel.main.basePackageScanEnabled", "description": "Whether base package scan is enabled.", "sourceType": "org.apache.camel.main.MainConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": true },
     { "name": "camel.main.beanIntrospectionExtendedStatistics", "description": "Sets whether bean introspection uses extended statistics. The default is false.", "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": "false" },
diff --git a/core/camel-support/src/main/java/org/apache/camel/support/CamelContextHelper.java b/core/camel-support/src/main/java/org/apache/camel/support/CamelContextHelper.java
index 1bc6e784746..89b39e96ca2 100644
--- a/core/camel-support/src/main/java/org/apache/camel/support/CamelContextHelper.java
+++ b/core/camel-support/src/main/java/org/apache/camel/support/CamelContextHelper.java
@@ -342,8 +342,7 @@ public final class CamelContextHelper {
      * Gets the maximum simple cache size.
      * <p/>
      * Will use the property set on CamelContext with the key {@link Exchange#MAXIMUM_SIMPLE_CACHE_SIZE}. If no property
-     * has been set, then it will fallback to return a size of 1000.
-     * Use value of 0 or negative to disable the cache.
+     * has been set, then it will fallback to return a size of 1000. Use value of 0 or negative to disable the cache.
      *
      * @param  camelContext             the camel context
      * @return                          the maximum cache size
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/VertxWebsocketEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/VertxWebsocketEndpointBuilderFactory.java
index 71e07255332..7967e6161a0 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/VertxWebsocketEndpointBuilderFactory.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/VertxWebsocketEndpointBuilderFactory.java
@@ -94,6 +94,41 @@ public interface VertxWebsocketEndpointBuilderFactory {
             doSetProperty("consumeAsClient", consumeAsClient);
             return this;
         }
+        /**
+         * Whether the server consumer will create a message exchange when a new
+         * WebSocket peer connects or disconnects.
+         * 
+         * The option is a: &lt;code&gt;boolean&lt;/code&gt; type.
+         * 
+         * Default: false
+         * Group: consumer
+         * 
+         * @param fireWebSocketConnectionEvents the value to set
+         * @return the dsl builder
+         */
+        default VertxWebsocketEndpointConsumerBuilder fireWebSocketConnectionEvents(
+                boolean fireWebSocketConnectionEvents) {
+            doSetProperty("fireWebSocketConnectionEvents", fireWebSocketConnectionEvents);
+            return this;
+        }
+        /**
+         * Whether the server consumer will create a message exchange when a new
+         * WebSocket peer connects or disconnects.
+         * 
+         * The option will be converted to a &lt;code&gt;boolean&lt;/code&gt;
+         * type.
+         * 
+         * Default: false
+         * Group: consumer
+         * 
+         * @param fireWebSocketConnectionEvents the value to set
+         * @return the dsl builder
+         */
+        default VertxWebsocketEndpointConsumerBuilder fireWebSocketConnectionEvents(
+                String fireWebSocketConnectionEvents) {
+            doSetProperty("fireWebSocketConnectionEvents", fireWebSocketConnectionEvents);
+            return this;
+        }
         /**
          * When consumeAsClient is set to true this sets the maximum number of
          * allowed reconnection attempts to a previously closed WebSocket. A
@@ -801,6 +836,20 @@ public interface VertxWebsocketEndpointBuilderFactory {
         public String vertxwebsocketRemoteaddress() {
             return "VertxWebsocket.remoteAddress";
         }
+
+        /**
+         * The WebSocket event that triggered the message exchange.
+         * 
+         * The option is a: {@code
+         * org.apache.camel.component.vertx.websocket.VertxWebsocketEvent} type.
+         * 
+         * Group: consumer
+         * 
+         * @return the name of the header {@code VertxWebsocket.event}.
+         */
+        public String vertxwebsocketEvent() {
+            return "VertxWebsocket.event";
+        }
     }
     static VertxWebsocketEndpointBuilder endpointBuilder(
             String componentName,