You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/02/09 05:58:33 UTC
[camel] branch main updated: CAMEL-19008: Regen
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 8eafa0e1b06 CAMEL-19008: Regen
8eafa0e1b06 is described below
commit 8eafa0e1b06753c0aa0990686f986cc8e56ab8d8
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Feb 9 06:58:20 2023 +0100
CAMEL-19008: Regen
---
.../camel/catalog/components/spring-rabbitmq.json | 4 +-
.../dsl/SpringRabbitMQEndpointBuilderFactory.java | 63 ++++++++++++++++++++--
2 files changed, 62 insertions(+), 5 deletions(-)
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/spring-rabbitmq.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/spring-rabbitmq.json
index 1dbd0d0ebe0..b11bbef4c2f 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/spring-rabbitmq.json
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/spring-rabbitmq.json
@@ -85,7 +85,9 @@
"messageListenerContainerType": { "kind": "parameter", "displayName": "Message Listener Container Type", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "string", "javaType": "java.lang.String", "enum": [ "DMLC", "SMLC" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "DMLC", "description": "The type of the MessageListenerContainer" },
"prefetchCount": { "kind": "parameter", "displayName": "Prefetch Count", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "description": "Tell the broker how many messages to send in a single request. Often this can be set quite high to improve throughput." },
"retry": { "kind": "parameter", "displayName": "Retry", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "object", "javaType": "org.springframework.retry.interceptor.RetryOperationsInterceptor", "deprecated": false, "autowired": false, "secret": false, "description": "Custom retry configuration to use. If this is configured then the other settings such as maximumRetryAttempts for retry are not in use." },
- "replyTimeout": { "kind": "parameter", "displayName": "Reply Timeout", "group": "producer", "label": "producer", "required": false, "type": "duration", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "5000", "description": "Specify the timeout in milliseconds to be used when waiting for a reply message when doing request\/reply messaging. The default value is 5 seconds. A negative value indicates an indefinite timeout." },
+ "confirm": { "kind": "parameter", "displayName": "Confirm", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "enum": [ "auto", "enabled", "disabled" ], "deprecated": false, "autowired": false, "secret": false, "description": "Controls whether to wait for confirms. The connection factory must be configured for publisher confirms and this method.auto = Camel detects if the connection factory uses confirms or not. disabled = [...]
+ "confirmTimeout": { "kind": "parameter", "displayName": "Confirm Timeout", "group": "producer", "label": "producer", "required": false, "type": "duration", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "5000", "description": "Specify the timeout in milliseconds to be used when waiting for a message sent to be confirmed by RabbitMQ when doing send only messaging (InOnly). The default value is 5 seconds. A negative value indicates an inde [...]
+ "replyTimeout": { "kind": "parameter", "displayName": "Reply Timeout", "group": "producer", "label": "producer", "required": false, "type": "duration", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "5000", "description": "Specify the timeout in milliseconds to be used when waiting for a reply message when doing request\/reply (InOut) messaging. The default value is 5 seconds. A negative value indicates an indefinite timeout." },
"usePublisherConnection": { "kind": "parameter", "displayName": "Use Publisher Connection", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Use a separate connection for publishers and consumers" },
"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 [...]
"args": { "kind": "parameter", "displayName": "Args", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "java.util.Map<java.lang.String, java.lang.Object>", "prefix": "arg.", "multiValue": true, "deprecated": false, "autowired": false, "secret": false, "description": "Specify arguments for configuring the different RabbitMQ concepts, a different prefix is required for each element: arg.consumer. arg.exchange. arg.queue. arg.binding. arg.dlq.ex [...]
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SpringRabbitMQEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SpringRabbitMQEndpointBuilderFactory.java
index 7b566656751..aa8eb5f9896 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SpringRabbitMQEndpointBuilderFactory.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SpringRabbitMQEndpointBuilderFactory.java
@@ -1185,10 +1185,65 @@ public interface SpringRabbitMQEndpointBuilderFactory {
doSetProperty("testConnectionOnStartup", testConnectionOnStartup);
return this;
}
+ /**
+ * Controls whether to wait for confirms. The connection factory must be
+ * configured for publisher confirms and this method.auto = Camel
+ * detects if the connection factory uses confirms or not. disabled =
+ * Confirms is disabled. enabled = Confirms is enabled.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param confirm the value to set
+ * @return the dsl builder
+ */
+ default SpringRabbitMQEndpointProducerBuilder confirm(String confirm) {
+ doSetProperty("confirm", confirm);
+ return this;
+ }
+ /**
+ * Specify the timeout in milliseconds to be used when waiting for a
+ * message sent to be confirmed by RabbitMQ when doing send only
+ * messaging (InOnly). The default value is 5 seconds. A negative value
+ * indicates an indefinite timeout.
+ *
+ * The option is a: <code>long</code> type.
+ *
+ * Default: 5000
+ * Group: producer
+ *
+ * @param confirmTimeout the value to set
+ * @return the dsl builder
+ */
+ default SpringRabbitMQEndpointProducerBuilder confirmTimeout(
+ long confirmTimeout) {
+ doSetProperty("confirmTimeout", confirmTimeout);
+ return this;
+ }
+ /**
+ * Specify the timeout in milliseconds to be used when waiting for a
+ * message sent to be confirmed by RabbitMQ when doing send only
+ * messaging (InOnly). The default value is 5 seconds. A negative value
+ * indicates an indefinite timeout.
+ *
+ * The option will be converted to a <code>long</code> type.
+ *
+ * Default: 5000
+ * Group: producer
+ *
+ * @param confirmTimeout the value to set
+ * @return the dsl builder
+ */
+ default SpringRabbitMQEndpointProducerBuilder confirmTimeout(
+ String confirmTimeout) {
+ doSetProperty("confirmTimeout", confirmTimeout);
+ return this;
+ }
/**
* Specify the timeout in milliseconds to be used when waiting for a
- * reply message when doing request/reply messaging. The default value
- * is 5 seconds. A negative value indicates an indefinite timeout.
+ * reply message when doing request/reply (InOut) messaging. The default
+ * value is 5 seconds. A negative value indicates an indefinite timeout.
*
* The option is a: <code>long</code> type.
*
@@ -1205,8 +1260,8 @@ public interface SpringRabbitMQEndpointBuilderFactory {
}
/**
* Specify the timeout in milliseconds to be used when waiting for a
- * reply message when doing request/reply messaging. The default value
- * is 5 seconds. A negative value indicates an indefinite timeout.
+ * reply message when doing request/reply (InOut) messaging. The default
+ * value is 5 seconds. A negative value indicates an indefinite timeout.
*
* The option will be converted to a <code>long</code> type.
*