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 db531f453e6 Regen
db531f453e6 is described below
commit db531f453e6269ed38bf3c4110ff3fcfbd662b46
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Jul 24 11:23:03 2025 +0200
Regen
---
.../catalog/components/langchain4j-tools.json | 17 +++++++++--------
.../camel/springboot/catalog/components/web3j.json | 8 ++++----
.../src/main/docs/consul-cluster-service.json | 7 ++++++-
.../camel-consul-starter/src/main/docs/consul.json | 7 ++++++-
.../camel-web3j-starter/src/main/docs/web3j.json | 8 ++++----
.../web3j/springboot/Web3jComponentConfiguration.java | 18 +++++++++---------
6 files changed, 38 insertions(+), 27 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/langchain4j-tools.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/langchain4j-tools.json
index d49444d85be..f5648cd6df0 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/langchain4j-tools.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/langchain4j-tools.json
@@ -31,15 +31,16 @@
"chatModel": { "index": 4, "kind": "property", "displayName": "Chat
Model", "group": "advanced", "label": "advanced", "required": false, "type":
"object", "javaType": "dev.langchain4j.model.chat.ChatModel", "deprecated":
false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass":
"org.apache.camel.component.langchain4j.tools.LangChain4jToolsConfiguration",
"configurationField": "configuration", "description": "Chat Model of type
dev.langchain4j.model.chat. [...]
},
"properties": {
- "toolId": { "index": 0, "kind": "path", "displayName": "Tool Id", "group":
"common", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "The tool name" },
+ "toolId": { "index": 0, "kind": "path", "displayName": "Tool Id", "group":
"common", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "The tool id" },
"tags": { "index": 1, "kind": "parameter", "displayName": "Tags", "group":
"common", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "The tags for the tools" },
"description": { "index": 2, "kind": "parameter", "displayName":
"Description", "group": "consumer", "label": "consumer", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "description":
"Tool description" },
- "parameters": { "index": 3, "kind": "parameter", "displayName":
"Parameters", "group": "consumer", "label": "consumer", "required": false,
"type": "object", "javaType": "java.util.Map<java.lang.String,
java.lang.String>", "prefix": "parameter.", "multiValue": true, "deprecated":
false, "deprecationNote": "", "autowired": false, "secret": false,
"description": "List of Tool parameters in the form of parameter.=. This is a
multi-value option with prefix: parameter." },
- "bridgeErrorHandler": { "index": 4, "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 (if possible) occurred
while the Camel consumer is trying to pickup incoming [...]
- "camelToolParameter": { "index": 5, "kind": "parameter", "displayName":
"Camel Tool Parameter", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "object", "javaType":
"org.apache.camel.component.langchain4j.tools.spec.CamelSimpleToolParameter",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "Tool's Camel Parameters, programmatically define Tool
description and parameters" },
- "exceptionHandler": { "index": 6, "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 def [...]
- "exchangePattern": { "index": 7, "kind": "parameter", "displayName":
"Exchange Pattern", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "object", "javaType":
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut" ],
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the exchange pattern when the consumer creates an exchange." },
- "lazyStartProducer": { "index": 8, "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 produc [...]
- "chatModel": { "index": 9, "kind": "parameter", "displayName": "Chat
Model", "group": "advanced", "label": "advanced", "required": false, "type":
"object", "javaType": "dev.langchain4j.model.chat.ChatModel", "deprecated":
false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass":
"org.apache.camel.component.langchain4j.tools.LangChain4jToolsConfiguration",
"configurationField": "configuration", "description": "Chat Model of type
dev.langchain4j.model.chat [...]
+ "name": { "index": 3, "kind": "parameter", "displayName": "Name", "group":
"consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "Tool name" },
+ "parameters": { "index": 4, "kind": "parameter", "displayName":
"Parameters", "group": "consumer", "label": "consumer", "required": false,
"type": "object", "javaType": "java.util.Map<java.lang.String,
java.lang.String>", "prefix": "parameter.", "multiValue": true, "deprecated":
false, "deprecationNote": "", "autowired": false, "secret": false,
"description": "List of Tool parameters in the form of parameter.=. This is a
multi-value option with prefix: parameter." },
+ "bridgeErrorHandler": { "index": 5, "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 (if possible) occurred
while the Camel consumer is trying to pickup incoming [...]
+ "camelToolParameter": { "index": 6, "kind": "parameter", "displayName":
"Camel Tool Parameter", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "object", "javaType":
"org.apache.camel.component.langchain4j.tools.spec.CamelSimpleToolParameter",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "Tool's Camel Parameters, programmatically define Tool
description and parameters" },
+ "exceptionHandler": { "index": 7, "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 def [...]
+ "exchangePattern": { "index": 8, "kind": "parameter", "displayName":
"Exchange Pattern", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "object", "javaType":
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut" ],
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the exchange pattern when the consumer creates an exchange." },
+ "lazyStartProducer": { "index": 9, "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 produc [...]
+ "chatModel": { "index": 10, "kind": "parameter", "displayName": "Chat
Model", "group": "advanced", "label": "advanced", "required": false, "type":
"object", "javaType": "dev.langchain4j.model.chat.ChatModel", "deprecated":
false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass":
"org.apache.camel.component.langchain4j.tools.LangChain4jToolsConfiguration",
"configurationField": "configuration", "description": "Chat Model of type
dev.langchain4j.model.cha [...]
}
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/web3j.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/web3j.json
index 7b6bcd4eaeb..9f9c00d916b 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/web3j.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/web3j.json
@@ -24,13 +24,13 @@
"remote": true
},
"componentProperties": {
- "addresses": { "index": 0, "kind": "property", "displayName": "Addresses",
"group": "common", "label": "common", "required": false, "type": "array",
"javaType": "java.util.List<java.lang.String>", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.web3j.Web3jConfiguration", "configurationField":
"configuration", "description": "Contract address or a list of addresses." },
+ "addresses": { "index": 0, "kind": "property", "displayName": "Addresses",
"group": "common", "label": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.web3j.Web3jConfiguration", "configurationField":
"configuration", "description": "Contract address or a comma separated list of
addresses." },
"configuration": { "index": 1, "kind": "property", "displayName":
"Configuration", "group": "common", "label": "", "required": false, "type":
"object", "javaType": "org.apache.camel.component.web3j.Web3jConfiguration",
"deprecated": false, "autowired": false, "secret": false, "description":
"Default configuration" },
"fromAddress": { "index": 2, "kind": "property", "displayName": "From
Address", "group": "common", "label": "common", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.web3j.Web3jConfiguration", "configurationField":
"configuration", "description": "The address the transaction is send from" },
"fromBlock": { "index": 3, "kind": "property", "displayName": "From
Block", "group": "common", "label": "common", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "latest", "configurationClass":
"org.apache.camel.component.web3j.Web3jConfiguration", "configurationField":
"configuration", "description": "The block number, or the string latest for the
last mined block or pending, earliest for [...]
"fullTransactionObjects": { "index": 4, "kind": "property", "displayName":
"Full Transaction Objects", "group": "common", "label": "common", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false,
"configurationClass": "org.apache.camel.component.web3j.Web3jConfiguration",
"configurationField": "configuration", "description": "If true it returns the
full transaction objects, if false only the hashes [...]
"gasLimit": { "index": 5, "kind": "property", "displayName": "Gas Limit",
"group": "common", "label": "", "required": false, "type": "object",
"javaType": "java.math.BigInteger", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.web3j.Web3jConfiguration", "configurationField":
"configuration", "description": "The maximum gas allowed in this block." },
- "privateFor": { "index": 6, "kind": "property", "displayName": "Private
For", "group": "common", "label": "common", "required": false, "type": "array",
"javaType": "java.util.List<java.lang.String>", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.web3j.Web3jConfiguration", "configurationField":
"configuration", "description": "A transaction privateFor nodes with public
keys in a Quorum network" },
+ "privateFor": { "index": 6, "kind": "property", "displayName": "Private
For", "group": "common", "label": "common", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.web3j.Web3jConfiguration", "configurationField":
"configuration", "description": "A comma separated transaction privateFor nodes
with public keys in a Quorum network" },
"quorumAPI": { "index": 7, "kind": "property", "displayName": "Quorum
API", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.web3j.Web3jConfiguration", "configurationField":
"configuration", "description": "If true, this will support Quorum API." },
"toAddress": { "index": 8, "kind": "property", "displayName": "To
Address", "group": "common", "label": "common", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.web3j.Web3jConfiguration", "configurationField":
"configuration", "description": "The address the transaction is directed to." },
"toBlock": { "index": 9, "kind": "property", "displayName": "To Block",
"group": "common", "label": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "latest", "configurationClass":
"org.apache.camel.component.web3j.Web3jConfiguration", "configurationField":
"configuration", "description": "The block number, or the string latest for the
last mined block or pending, earliest for not [...]
@@ -105,12 +105,12 @@
},
"properties": {
"nodeAddress": { "index": 0, "kind": "path", "displayName": "Node
Address", "group": "common", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "Sets the node address used
to communicate" },
- "addresses": { "index": 1, "kind": "parameter", "displayName":
"Addresses", "group": "common", "label": "common", "required": false, "type":
"array", "javaType": "java.util.List<java.lang.String>", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.web3j.Web3jConfiguration", "configurationField":
"configuration", "description": "Contract address or a list of addresses." },
+ "addresses": { "index": 1, "kind": "parameter", "displayName":
"Addresses", "group": "common", "label": "common", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.web3j.Web3jConfiguration", "configurationField":
"configuration", "description": "Contract address or a comma separated list of
addresses." },
"fromAddress": { "index": 2, "kind": "parameter", "displayName": "From
Address", "group": "common", "label": "common", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.web3j.Web3jConfiguration", "configurationField":
"configuration", "description": "The address the transaction is send from" },
"fromBlock": { "index": 3, "kind": "parameter", "displayName": "From
Block", "group": "common", "label": "common", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "latest", "configurationClass":
"org.apache.camel.component.web3j.Web3jConfiguration", "configurationField":
"configuration", "description": "The block number, or the string latest for the
last mined block or pending, earliest for [...]
"fullTransactionObjects": { "index": 4, "kind": "parameter",
"displayName": "Full Transaction Objects", "group": "common", "label":
"common", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.web3j.Web3jConfiguration", "configurationField":
"configuration", "description": "If true it returns the full transaction
objects, if false only the hashe [...]
"gasLimit": { "index": 5, "kind": "parameter", "displayName": "Gas Limit",
"group": "common", "label": "", "required": false, "type": "object",
"javaType": "java.math.BigInteger", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.web3j.Web3jConfiguration", "configurationField":
"configuration", "description": "The maximum gas allowed in this block." },
- "privateFor": { "index": 6, "kind": "parameter", "displayName": "Private
For", "group": "common", "label": "common", "required": false, "type": "array",
"javaType": "java.util.List<java.lang.String>", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.web3j.Web3jConfiguration", "configurationField":
"configuration", "description": "A transaction privateFor nodes with public
keys in a Quorum network" },
+ "privateFor": { "index": 6, "kind": "parameter", "displayName": "Private
For", "group": "common", "label": "common", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.web3j.Web3jConfiguration", "configurationField":
"configuration", "description": "A comma separated transaction privateFor nodes
with public keys in a Quorum network" },
"quorumAPI": { "index": 7, "kind": "parameter", "displayName": "Quorum
API", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.web3j.Web3jConfiguration", "configurationField":
"configuration", "description": "If true, this will support Quorum API." },
"toAddress": { "index": 8, "kind": "parameter", "displayName": "To
Address", "group": "common", "label": "common", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.web3j.Web3jConfiguration", "configurationField":
"configuration", "description": "The address the transaction is directed to." },
"toBlock": { "index": 9, "kind": "parameter", "displayName": "To Block",
"group": "common", "label": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "latest", "configurationClass":
"org.apache.camel.component.web3j.Web3jConfiguration", "configurationField":
"configuration", "description": "The block number, or the string latest for the
last mined block or pending, earliest for not [...]
diff --git
a/components-starter/camel-consul-cluster-service-starter/src/main/docs/consul-cluster-service.json
b/components-starter/camel-consul-cluster-service-starter/src/main/docs/consul-cluster-service.json
index 9dea512fdb1..e9795d18888 100644
---
a/components-starter/camel-consul-cluster-service-starter/src/main/docs/consul-cluster-service.json
+++
b/components-starter/camel-consul-cluster-service-starter/src/main/docs/consul-cluster-service.json
@@ -148,9 +148,14 @@
"description": "SSL configuration using an
org.apache.camel.support.jsse.SSLContextParameters instance.",
"sourceType":
"org.apache.camel.component.consul.springboot.cluster.ConsulClusterServiceConfiguration"
},
+ {
+ "name": "camel.cluster.consul.tag-as-set",
+ "type": "java.util.Collection<java.lang.String>",
+ "sourceType":
"org.apache.camel.component.consul.springboot.cluster.ConsulClusterServiceConfiguration"
+ },
{
"name": "camel.cluster.consul.tags",
- "type": "java.util.Set<java.lang.String>",
+ "type": "java.lang.String",
"description": "Set tags. You can separate multiple tags by comma.",
"sourceType":
"org.apache.camel.component.consul.springboot.cluster.ConsulClusterServiceConfiguration"
},
diff --git a/components-starter/camel-consul-starter/src/main/docs/consul.json
b/components-starter/camel-consul-starter/src/main/docs/consul.json
index 89d16838fb3..4257ca3702c 100644
--- a/components-starter/camel-consul-starter/src/main/docs/consul.json
+++ b/components-starter/camel-consul-starter/src/main/docs/consul.json
@@ -131,9 +131,14 @@
"description": "SSL configuration using an
org.apache.camel.support.jsse.SSLContextParameters instance.",
"sourceType":
"org.apache.camel.component.consul.springboot.cloud.ConsulServiceRegistryConfiguration"
},
+ {
+ "name": "camel.cloud.consul.tag-as-set",
+ "type": "java.util.Collection<java.lang.String>",
+ "sourceType":
"org.apache.camel.component.consul.springboot.cloud.ConsulServiceRegistryConfiguration"
+ },
{
"name": "camel.cloud.consul.tags",
- "type": "java.util.Set<java.lang.String>",
+ "type": "java.lang.String",
"description": "Set tags. You can separate multiple tags by comma.",
"sourceType":
"org.apache.camel.component.consul.springboot.cloud.ConsulServiceRegistryConfiguration"
},
diff --git a/components-starter/camel-web3j-starter/src/main/docs/web3j.json
b/components-starter/camel-web3j-starter/src/main/docs/web3j.json
index 501767da3f3..cfd689f42c3 100644
--- a/components-starter/camel-web3j-starter/src/main/docs/web3j.json
+++ b/components-starter/camel-web3j-starter/src/main/docs/web3j.json
@@ -21,8 +21,8 @@
},
{
"name": "camel.component.web3j.addresses",
- "type": "java.util.List<java.lang.String>",
- "description": "Contract address or a list of addresses.",
+ "type": "java.lang.String",
+ "description": "Contract address or a comma separated list of
addresses.",
"sourceType":
"org.apache.camel.component.web3j.springboot.Web3jComponentConfiguration"
},
{
@@ -189,8 +189,8 @@
},
{
"name": "camel.component.web3j.private-for",
- "type": "java.util.List<java.lang.String>",
- "description": "A transaction privateFor nodes with public keys in a
Quorum network",
+ "type": "java.lang.String",
+ "description": "A comma separated transaction privateFor nodes with
public keys in a Quorum network",
"sourceType":
"org.apache.camel.component.web3j.springboot.Web3jComponentConfiguration"
},
{
diff --git
a/components-starter/camel-web3j-starter/src/main/java/org/apache/camel/component/web3j/springboot/Web3jComponentConfiguration.java
b/components-starter/camel-web3j-starter/src/main/java/org/apache/camel/component/web3j/springboot/Web3jComponentConfiguration.java
index ec543c86fcf..3cf191fb037 100644
---
a/components-starter/camel-web3j-starter/src/main/java/org/apache/camel/component/web3j/springboot/Web3jComponentConfiguration.java
+++
b/components-starter/camel-web3j-starter/src/main/java/org/apache/camel/component/web3j/springboot/Web3jComponentConfiguration.java
@@ -17,7 +17,6 @@
package org.apache.camel.component.web3j.springboot;
import java.math.BigInteger;
-import java.util.List;
import org.apache.camel.component.web3j.Web3jConfiguration;
import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon;
import org.springframework.boot.context.properties.ConfigurationProperties;
@@ -39,9 +38,9 @@ public class Web3jComponentConfiguration
*/
private Boolean enabled;
/**
- * Contract address or a list of addresses.
+ * Contract address or a comma separated list of addresses.
*/
- private List<String> addresses;
+ private String addresses;
/**
* Default configuration. The option is a
* org.apache.camel.component.web3j.Web3jConfiguration type.
@@ -67,9 +66,10 @@ public class Web3jComponentConfiguration
*/
private BigInteger gasLimit;
/**
- * A transaction privateFor nodes with public keys in a Quorum network
+ * A comma separated transaction privateFor nodes with public keys in a
+ * Quorum network
*/
- private List<String> privateFor;
+ private String privateFor;
/**
* If true, this will support Quorum API.
*/
@@ -230,11 +230,11 @@ public class Web3jComponentConfiguration
*/
private Boolean autowiredEnabled = true;
- public List<String> getAddresses() {
+ public String getAddresses() {
return addresses;
}
- public void setAddresses(List<String> addresses) {
+ public void setAddresses(String addresses) {
this.addresses = addresses;
}
@@ -278,11 +278,11 @@ public class Web3jComponentConfiguration
this.gasLimit = gasLimit;
}
- public List<String> getPrivateFor() {
+ public String getPrivateFor() {
return privateFor;
}
- public void setPrivateFor(List<String> privateFor) {
+ public void setPrivateFor(String privateFor) {
this.privateFor = privateFor;
}