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-spring-boot.git
The following commit(s) were added to refs/heads/main by this push: new 0587826d8a5 Regen 0587826d8a5 is described below commit 0587826d8a51f158a11703b22beb0e7920832748 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Wed Oct 30 20:48:09 2024 +0100 Regen --- .../org/apache/camel/springboot/catalog/components/amqp.json | 8 ++++---- .../camel-amqp-starter/src/main/docs/amqp.json | 12 ++++-------- .../amqp/springboot/AMQPComponentConfiguration.java | 8 ++++---- 3 files changed, 12 insertions(+), 16 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/amqp.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/amqp.json index 1dbdd2b71b3..b78da1bfed6 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/amqp.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/amqp.json @@ -28,18 +28,18 @@ "connectionFactory": { "index": 1, "kind": "property", "displayName": "Connection Factory", "group": "common", "label": "", "required": false, "type": "object", "javaType": "jakarta.jms.ConnectionFactory", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "configurationField": "configuration", "description": "The connection factory to be use. A connection factory must be configured either on the componen [...] "disableReplyTo": { "index": 2, "kind": "property", "displayName": "Disable Reply To", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "configurationField": "configuration", "description": "Specifies whether Camel ignores the JMSReplyTo header in messages. If true, Camel does not send a r [...] "durableSubscriptionName": { "index": 3, "kind": "property", "displayName": "Durable Subscription Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "configurationField": "configuration", "description": "The durable subscriber name for specifying durable topic subscriptions. The clientId option must [...] - "host": { "index": 4, "kind": "property", "displayName": "Host", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "localhost", "description": "The host name or IP address of the computer that hosts the AMQP Broker." }, + "host": { "index": 4, "kind": "property", "displayName": "Host", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The host name or IP address of the computer that hosts the AMQP Broker." }, "includeAmqpAnnotations": { "index": 5, "kind": "property", "displayName": "Include AMQP Annotations", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "defaultValue": false, "description": "Whether to include AMQP annotations when mapping from AMQP to Camel Message. Setting this to true maps AMQP message annotations that contain a JMS_AMQP_MA_ prefix to messag [...] "jmsMessageType": { "index": 6, "kind": "property", "displayName": "Jms Message Type", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.jms.JmsMessageType", "enum": [ "Bytes", "Map", "Object", "Stream", "Text" ], "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "configurationField": "configuration", "description": "Allows you to force the use o [...] "keyStoreLocation": { "index": 7, "kind": "property", "displayName": "Key Store Location", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The SSL keystore location." }, "keyStoreType": { "index": 8, "kind": "property", "displayName": "Key Store Type", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "JKS", "description": "The SSL keystore type." }, - "port": { "index": 9, "kind": "property", "displayName": "Port", "group": "common", "label": "", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 5672, "description": "The port number on which the AMPQ Broker listens." }, + "port": { "index": 9, "kind": "property", "displayName": "Port", "group": "common", "label": "", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "description": "The port number on which the AMPQ Broker listens." }, "replyTo": { "index": 10, "kind": "property", "displayName": "Reply To", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "configurationField": "configuration", "description": "Provides an explicit ReplyTo destination (overrides any incoming value of Message.getJMSReplyTo() in consumer)." }, "testConnectionOnStartup": { "index": 11, "kind": "property", "displayName": "Test Connection On Startup", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "configurationField": "configuration", "description": "Specifies whether to test the connection on startup. This ensures that when Cam [...] "trustStoreLocation": { "index": 12, "kind": "property", "displayName": "Trust Store Location", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The SSL truststore location." }, "trustStoreType": { "index": 13, "kind": "property", "displayName": "Trust Store Type", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "JKS", "description": "The SSL truststore type." }, - "useSsl": { "index": 14, "kind": "property", "displayName": "Use Ssl", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether to enable SSL when connecting to the AMQP Broker." }, - "useTopicPrefix": { "index": 15, "kind": "property", "displayName": "Use Topic Prefix", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to configure topics with a topic:\/\/ prefix." }, + "useSsl": { "index": 14, "kind": "property", "displayName": "Use Ssl", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "description": "Whether to enable SSL when connecting to the AMQP Broker." }, + "useTopicPrefix": { "index": 15, "kind": "property", "displayName": "Use Topic Prefix", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "description": "Whether to configure topics with a topic:\/\/ prefix." }, "acknowledgementModeName": { "index": 16, "kind": "property", "displayName": "Acknowledgement Mode Name", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "enum": [ "SESSION_TRANSACTED", "CLIENT_ACKNOWLEDGE", "AUTO_ACKNOWLEDGE", "DUPS_OK_ACKNOWLEDGE" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "AUTO_ACKNOWLEDGE", "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "conf [...] "artemisConsumerPriority": { "index": 17, "kind": "property", "displayName": "Artemis Consumer Priority", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "configurationField": "configuration", "description": "Consumer priorities allow you to ensure that high priority consumers receive messages while they [...] "asyncConsumer": { "index": 18, "kind": "property", "displayName": "Async Consumer", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "configurationField": "configuration", "description": "Whether the JmsConsumer processes the Exchange asynchronously. If enabled then the JmsConsu [...] diff --git a/components-starter/camel-amqp-starter/src/main/docs/amqp.json b/components-starter/camel-amqp-starter/src/main/docs/amqp.json index ca41861ce2b..713c566f8e7 100644 --- a/components-starter/camel-amqp-starter/src/main/docs/amqp.json +++ b/components-starter/camel-amqp-starter/src/main/docs/amqp.json @@ -320,8 +320,7 @@ "name": "camel.component.amqp.host", "type": "java.lang.String", "description": "The host name or IP address of the computer that hosts the AMQP Broker.", - "sourceType": "org.apache.camel.component.amqp.springboot.AMQPComponentConfiguration", - "defaultValue": "localhost" + "sourceType": "org.apache.camel.component.amqp.springboot.AMQPComponentConfiguration" }, { "name": "camel.component.amqp.idle-consumer-limit", @@ -478,8 +477,7 @@ "name": "camel.component.amqp.port", "type": "java.lang.Integer", "description": "The port number on which the AMPQ Broker listens.", - "sourceType": "org.apache.camel.component.amqp.springboot.AMQPComponentConfiguration", - "defaultValue": 5672 + "sourceType": "org.apache.camel.component.amqp.springboot.AMQPComponentConfiguration" }, { "name": "camel.component.amqp.preserve-message-qos", @@ -756,15 +754,13 @@ "name": "camel.component.amqp.use-ssl", "type": "java.lang.Boolean", "description": "Whether to enable SSL when connecting to the AMQP Broker.", - "sourceType": "org.apache.camel.component.amqp.springboot.AMQPComponentConfiguration", - "defaultValue": false + "sourceType": "org.apache.camel.component.amqp.springboot.AMQPComponentConfiguration" }, { "name": "camel.component.amqp.use-topic-prefix", "type": "java.lang.Boolean", "description": "Whether to configure topics with a topic:\/\/ prefix.", - "sourceType": "org.apache.camel.component.amqp.springboot.AMQPComponentConfiguration", - "defaultValue": true + "sourceType": "org.apache.camel.component.amqp.springboot.AMQPComponentConfiguration" }, { "name": "camel.component.amqp.username", diff --git a/components-starter/camel-amqp-starter/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentConfiguration.java b/components-starter/camel-amqp-starter/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentConfiguration.java index c33811eaed9..e450a9c17cf 100644 --- a/components-starter/camel-amqp-starter/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentConfiguration.java +++ b/components-starter/camel-amqp-starter/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentConfiguration.java @@ -76,7 +76,7 @@ public class AMQPComponentConfiguration /** * The host name or IP address of the computer that hosts the AMQP Broker. */ - private String host = "localhost"; + private String host; /** * Whether to include AMQP annotations when mapping from AMQP to Camel * Message. Setting this to true maps AMQP message annotations that contain @@ -102,7 +102,7 @@ public class AMQPComponentConfiguration /** * The port number on which the AMPQ Broker listens. */ - private Integer port = 5672; + private Integer port; /** * Provides an explicit ReplyTo destination (overrides any incoming value of * Message.getJMSReplyTo() in consumer). @@ -127,11 +127,11 @@ public class AMQPComponentConfiguration /** * Whether to enable SSL when connecting to the AMQP Broker. */ - private Boolean useSsl = false; + private Boolean useSsl; /** * Whether to configure topics with a topic:// prefix. */ - private Boolean useTopicPrefix = true; + private Boolean useTopicPrefix; /** * The JMS acknowledgement name, which is one of: SESSION_TRANSACTED, * CLIENT_ACKNOWLEDGE, AUTO_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE