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 cd84f259d94 Regen
cd84f259d94 is described below
commit cd84f259d949611e301a54c5fe9bb60a920ceeb0
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Apr 29 08:59:39 2025 +0200
Regen
---
.../camel/springboot/catalog/components/dapr.json | 50 ++++++++++----
.../camel/springboot/catalog/components/sql.json | 2 +-
.../camel-dapr-starter/src/main/docs/dapr.json | 37 ++++++++++
.../springboot/DaprComponentConfiguration.java | 80 ++++++++++++++++++++++
.../camel-sql-starter/src/main/docs/sql.json | 2 +-
.../sql/springboot/SqlComponentConfiguration.java | 7 +-
tooling/camel-spring-boot-dependencies/pom.xml | 10 ---
7 files changed, 158 insertions(+), 30 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/dapr.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/dapr.json
index 152749bf098..d6d4fa4f322 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/dapr.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/dapr.json
@@ -24,13 +24,19 @@
"remote": true
},
"componentProperties": {
- "configuration": { "index": 0, "kind": "property", "displayName":
"Configuration", "group": "producer", "label": "", "required": false, "type":
"object", "javaType": "org.apache.camel.component.dapr.DaprConfiguration",
"deprecated": false, "autowired": false, "secret": false, "description": "The
component configurations" },
- "httpExtension": { "index": 1, "kind": "property", "displayName": "Http
Extension", "group": "producer", "label": "producer", "required": false,
"type": "object", "javaType": "io.dapr.client.domain.HttpExtension",
"deprecated": false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass": "org.apache.camel.component.dapr.DaprConfiguration",
"configurationField": "configuration", "description": "HTTP method to use when
invoking the service. Accepts verbs like [...]
- "lazyStartProducer": { "index": 2, "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 [...]
- "methodToInvoke": { "index": 3, "kind": "property", "displayName": "Method
To Invoke", "group": "producer", "label": "producer", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField":
"configuration", "description": "The name of the method or route to invoke on
the target service" },
- "serviceToInvoke": { "index": 4, "kind": "property", "displayName":
"Service To Invoke", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField":
"configuration", "description": "Target service to invoke. Can be a Dapr App
ID, a named HTTPEndpoint, or a FQDN\/public URL" },
- "verb": { "index": 5, "kind": "property", "displayName": "Verb", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "POST", "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField":
"configuration", "description": "The HTTP verb to use for invoking the method"
},
- "autowiredEnabled": { "index": 6, "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 t [...]
+ "concurrency": { "index": 0, "kind": "property", "displayName":
"Concurrency", "group": "producer", "label": "producer", "required": false,
"type": "object", "javaType": "io.dapr.client.domain.StateOptions.Concurrency",
"enum": [ "FIRST_WRITE", "LAST_WRITE" ], "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField":
"configuration", "description": "Concurrency mode to use with state oper [...]
+ "configuration": { "index": 1, "kind": "property", "displayName":
"Configuration", "group": "producer", "label": "", "required": false, "type":
"object", "javaType": "org.apache.camel.component.dapr.DaprConfiguration",
"deprecated": false, "autowired": false, "secret": false, "description": "The
component configurations" },
+ "consistency": { "index": 2, "kind": "property", "displayName":
"Consistency", "group": "producer", "label": "producer", "required": false,
"type": "object", "javaType": "io.dapr.client.domain.StateOptions.Consistency",
"enum": [ "EVENTUAL", "STRONG" ], "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField":
"configuration", "description": "Consistency level to use with state
operations" },
+ "eTag": { "index": 3, "kind": "property", "displayName": "ETag", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField":
"configuration", "description": "The eTag for optimistic concurrency during
state save or delete operations" },
+ "httpExtension": { "index": 4, "kind": "property", "displayName": "Http
Extension", "group": "producer", "label": "producer", "required": false,
"type": "object", "javaType": "io.dapr.client.domain.HttpExtension",
"deprecated": false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass": "org.apache.camel.component.dapr.DaprConfiguration",
"configurationField": "configuration", "description": "HTTP method to use when
invoking the service. Accepts verbs like [...]
+ "key": { "index": 5, "kind": "property", "displayName": "Key", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField":
"configuration", "description": "The key used to identify the state object
within the specified state store" },
+ "lazyStartProducer": { "index": 6, "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 [...]
+ "methodToInvoke": { "index": 7, "kind": "property", "displayName": "Method
To Invoke", "group": "producer", "label": "producer", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField":
"configuration", "description": "The name of the method or route to invoke on
the target service" },
+ "serviceToInvoke": { "index": 8, "kind": "property", "displayName":
"Service To Invoke", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField":
"configuration", "description": "Target service to invoke. Can be a Dapr App
ID, a named HTTPEndpoint, or a FQDN\/public URL" },
+ "stateOperation": { "index": 9, "kind": "property", "displayName": "State
Operation", "group": "producer", "label": "producer", "required": false,
"type": "object", "javaType": "org.apache.camel.component.dapr.StateOperation",
"enum": [ "save", "saveBulk", "get", "getBulk", "delete", "executeTransaction"
], "deprecated": false, "autowired": false, "secret": false, "defaultValue":
"get", "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField": "
[...]
+ "stateStore": { "index": 10, "kind": "property", "displayName": "State
Store", "group": "producer", "label": "producer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField":
"configuration", "description": "The name of the Dapr state store to interact
with, defined in statestore.yaml config" },
+ "verb": { "index": 11, "kind": "property", "displayName": "Verb", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "POST", "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField":
"configuration", "description": "The HTTP verb to use for invoking the method"
},
+ "autowiredEnabled": { "index": 12, "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 [...]
},
"headers": {
"CamelDaprServiceToInvoke": { "index": 0, "kind": "header", "displayName":
"", "group": "producer", "label": "producer", "required": false, "javaType":
"String", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "Target service to invoke. Can be a Dapr App
ID, a named HTTPEndpoint, or a FQDN\/public URL", "constantName":
"org.apache.camel.component.dapr.DaprConstants#SERVICE_TO_INVOKE" },
@@ -38,14 +44,30 @@
"CamelDaprVerb": { "index": 2, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"String", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "The HTTP verb to use for service invocation",
"constantName": "org.apache.camel.component.dapr.DaprConstants#VERB" },
"CamelDaprQueryParameters": { "index": 3, "kind": "header", "displayName":
"", "group": "producer", "label": "producer", "required": false, "javaType":
"Map<String, List<String>>", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "The query parameters for
HTTP requests", "constantName":
"org.apache.camel.component.dapr.DaprConstants#QUERY_PARAMETERS" },
"CamelDaprHttpHeaders": { "index": 4, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"Map<String, String>", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "The headers for HTTP requests",
"constantName": "org.apache.camel.component.dapr.DaprConstants#HTTP_HEADERS" },
- "CamelDaprHttpExtension": { "index": 5, "kind": "header", "displayName":
"", "group": "producer", "label": "producer", "required": false, "javaType":
"HttpExtension", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "The HttpExtension object for service
invocation. Takes precedence over verb", "constantName":
"org.apache.camel.component.dapr.DaprConstants#HTTP_EXTENSION" }
+ "CamelDaprHttpExtension": { "index": 5, "kind": "header", "displayName":
"", "group": "producer", "label": "producer", "required": false, "javaType":
"HttpExtension", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "The HttpExtension object for service
invocation. Takes precedence over verb", "constantName":
"org.apache.camel.component.dapr.DaprConstants#HTTP_EXTENSION" },
+ "CamelDaprStateOperation": { "index": 6, "kind": "header", "displayName":
"", "group": "producer", "label": "producer", "required": false, "javaType":
"StateOperation", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "defaultValue": "get", "description": "The state
operation to perform on the state store. Required for DaprOperation.state
operation", "constantName":
"org.apache.camel.component.dapr.DaprConstants#STATE_OPERATION" },
+ "CamelDaprStateStore": { "index": 7, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"String", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "The name of the Dapr state store to interact
with, defined in statestore.yaml config", "constantName":
"org.apache.camel.component.dapr.DaprConstants#STATE_STORE" },
+ "CamelDaprKey": { "index": 8, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"String", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "The key used to identify the state object
within the specified state store", "constantName":
"org.apache.camel.component.dapr.DaprConstants#KEY" },
+ "CamelDaprETag": { "index": 9, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"String", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "The eTag for optimistic concurrency during
state save or delete operations", "constantName":
"org.apache.camel.component.dapr.DaprConstants#E_TAG" },
+ "CamelDaprConcurrency": { "index": 10, "kind": "header", "displayName":
"", "group": "producer", "label": "producer", "required": false, "javaType":
"io.dapr.client.domain.StateOptions.Concurrency", "enum": [ "FIRST_WRITE",
"LAST_WRITE" ], "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "Concurrency mode to use with state
operations", "constantName":
"org.apache.camel.component.dapr.DaprConstants#CONCURRENCY" },
+ "CamelDaprConsistency": { "index": 11, "kind": "header", "displayName":
"", "group": "producer", "label": "producer", "required": false, "javaType":
"io.dapr.client.domain.StateOptions.Consistency", "enum": [ "EVENTUAL",
"STRONG" ], "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "Consistency level to use with state
operations", "constantName":
"org.apache.camel.component.dapr.DaprConstants#CONSISTENCY" },
+ "CamelDaprMetadata": { "index": 12, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"Map<String, String>", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "Additional key-value pairs to be passed
to the state store", "constantName":
"org.apache.camel.component.dapr.DaprConstants#METADATA" },
+ "CamelDaprStates": { "index": 13, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"List<State<?>>", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "List of states for bulk save
operation", "constantName":
"org.apache.camel.component.dapr.DaprConstants#STATES" },
+ "CamelDaprKeys": { "index": 14, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"List<String>", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "List of keys for bulk get operation",
"constantName": "org.apache.camel.component.dapr.DaprConstants#KEYS" },
+ "CamelDaprTransactions": { "index": 15, "kind": "header", "displayName":
"", "group": "producer", "label": "producer", "required": false, "javaType":
"List<TransactionalStateOperation<?>>", "deprecated": false, "deprecationNote":
"", "autowired": false, "secret": false, "description": "List of transactions
for execute transactions state operations", "constantName":
"org.apache.camel.component.dapr.DaprConstants#TRANSACTIONS" }
},
"properties": {
- "operation": { "index": 0, "kind": "path", "displayName": "Operation",
"group": "producer", "label": "producer", "required": true, "type": "object",
"javaType": "org.apache.camel.component.dapr.DaprOperation", "enum": [
"invokeService" ], "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField":
"configuration", "description": "The Dapr building block operation to p [...]
- "httpExtension": { "index": 1, "kind": "parameter", "displayName": "Http
Extension", "group": "producer", "label": "producer", "required": false,
"type": "object", "javaType": "io.dapr.client.domain.HttpExtension",
"deprecated": false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass": "org.apache.camel.component.dapr.DaprConfiguration",
"configurationField": "configuration", "description": "HTTP method to use when
invoking the service. Accepts verbs lik [...]
- "methodToInvoke": { "index": 2, "kind": "parameter", "displayName":
"Method To Invoke", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField":
"configuration", "description": "The name of the method or route to invoke on
the target service" },
- "serviceToInvoke": { "index": 3, "kind": "parameter", "displayName":
"Service To Invoke", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField":
"configuration", "description": "Target service to invoke. Can be a Dapr App
ID, a named HTTPEndpoint, or a FQDN\/public URL" },
- "verb": { "index": 4, "kind": "parameter", "displayName": "Verb", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "POST", "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField":
"configuration", "description": "The HTTP verb to use for invoking the method"
},
- "lazyStartProducer": { "index": 5, "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 [...]
+ "operation": { "index": 0, "kind": "path", "displayName": "Operation",
"group": "producer", "label": "producer", "required": true, "type": "object",
"javaType": "org.apache.camel.component.dapr.DaprOperation", "enum": [
"invokeService", "state" ], "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField":
"configuration", "description": "The Dapr building block opera [...]
+ "concurrency": { "index": 1, "kind": "parameter", "displayName":
"Concurrency", "group": "producer", "label": "producer", "required": false,
"type": "object", "javaType": "io.dapr.client.domain.StateOptions.Concurrency",
"enum": [ "FIRST_WRITE", "LAST_WRITE" ], "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField":
"configuration", "description": "Concurrency mode to use with state ope [...]
+ "consistency": { "index": 2, "kind": "parameter", "displayName":
"Consistency", "group": "producer", "label": "producer", "required": false,
"type": "object", "javaType": "io.dapr.client.domain.StateOptions.Consistency",
"enum": [ "EVENTUAL", "STRONG" ], "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField":
"configuration", "description": "Consistency level to use with state
operations" },
+ "eTag": { "index": 3, "kind": "parameter", "displayName": "ETag", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField":
"configuration", "description": "The eTag for optimistic concurrency during
state save or delete operations" },
+ "httpExtension": { "index": 4, "kind": "parameter", "displayName": "Http
Extension", "group": "producer", "label": "producer", "required": false,
"type": "object", "javaType": "io.dapr.client.domain.HttpExtension",
"deprecated": false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass": "org.apache.camel.component.dapr.DaprConfiguration",
"configurationField": "configuration", "description": "HTTP method to use when
invoking the service. Accepts verbs lik [...]
+ "key": { "index": 5, "kind": "parameter", "displayName": "Key", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField":
"configuration", "description": "The key used to identify the state object
within the specified state store" },
+ "methodToInvoke": { "index": 6, "kind": "parameter", "displayName":
"Method To Invoke", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField":
"configuration", "description": "The name of the method or route to invoke on
the target service" },
+ "serviceToInvoke": { "index": 7, "kind": "parameter", "displayName":
"Service To Invoke", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField":
"configuration", "description": "Target service to invoke. Can be a Dapr App
ID, a named HTTPEndpoint, or a FQDN\/public URL" },
+ "stateOperation": { "index": 8, "kind": "parameter", "displayName": "State
Operation", "group": "producer", "label": "producer", "required": false,
"type": "object", "javaType": "org.apache.camel.component.dapr.StateOperation",
"enum": [ "save", "saveBulk", "get", "getBulk", "delete", "executeTransaction"
], "deprecated": false, "autowired": false, "secret": false, "defaultValue":
"get", "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField":
[...]
+ "stateStore": { "index": 9, "kind": "parameter", "displayName": "State
Store", "group": "producer", "label": "producer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField":
"configuration", "description": "The name of the Dapr state store to interact
with, defined in statestore.yaml config" },
+ "verb": { "index": 10, "kind": "parameter", "displayName": "Verb",
"group": "producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "POST", "configurationClass":
"org.apache.camel.component.dapr.DaprConfiguration", "configurationField":
"configuration", "description": "The HTTP verb to use for invoking the method"
},
+ "lazyStartProducer": { "index": 11, "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 produ [...]
}
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/sql.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/sql.json
index 59c4bcac6fd..fa113e50ec8 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/sql.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/sql.json
@@ -31,7 +31,7 @@
"autowiredEnabled": { "index": 4, "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 t [...]
"fetchSize": { "index": 5, "kind": "property", "displayName": "Fetch
Size", "group": "advanced", "label": "advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "description": "Gives the JDBC driver a hint as to the number
of rows that should be fetched from the database when more rows are needed for
ResultSet objects generated by this Statement. If the value specified is zero,
then the hint is ignored. The defau [...]
"rowMapperFactory": { "index": 6, "kind": "property", "displayName": "Row
Mapper Factory", "group": "advanced", "label": "advanced", "required": false,
"type": "object", "javaType":
"org.apache.camel.component.sql.RowMapperFactory", "deprecated": false,
"autowired": true, "secret": false, "description": "Factory for creating
RowMapper" },
- "serviceLocationEnabled": { "index": 7, "kind": "property", "displayName":
"Service Location Enabled", "group": "advanced", "label": "advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Whether to detect the network address location of the JMS
broker on startup. This information is gathered via reflection on the
ConnectionFactory, and is vendor specific. This option can [...]
+ "serviceLocationEnabled": { "index": 7, "kind": "property", "displayName":
"Service Location Enabled", "group": "advanced", "label": "advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Whether to detect the network address location of the Database
on startup. This information is gathered via reflection on the DataSource, and
is vendor specific. This option can be used [...]
"usePlaceholder": { "index": 8, "kind": "property", "displayName": "Use
Placeholder", "group": "advanced", "label": "advanced", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": true, "description": "Sets whether to
use placeholder and replace all placeholder characters with sign in the SQL
queries. This option is default true" },
"healthCheckConsumerEnabled": { "index": 9, "kind": "property",
"displayName": "Health Check Consumer Enabled", "group": "health", "label":
"health", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Used for enabling or disabling all consumer based health checks
from this component" },
"healthCheckProducerEnabled": { "index": 10, "kind": "property",
"displayName": "Health Check Producer Enabled", "group": "health", "label":
"health", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Used for enabling or disabling all producer based health checks
from this component. Notice: Camel has by default disabled all producer based
health-checks. You can turn on produce [...]
diff --git a/components-starter/camel-dapr-starter/src/main/docs/dapr.json
b/components-starter/camel-dapr-starter/src/main/docs/dapr.json
index e2a806929e8..b4135c34e1a 100644
--- a/components-starter/camel-dapr-starter/src/main/docs/dapr.json
+++ b/components-starter/camel-dapr-starter/src/main/docs/dapr.json
@@ -20,17 +20,35 @@
"sourceType":
"org.apache.camel.component.dapr.springboot.DaprComponentConfiguration",
"defaultValue": true
},
+ {
+ "name": "camel.component.dapr.concurrency",
+ "type": "io.dapr.client.domain.StateOptions$Concurrency",
+ "description": "Concurrency mode to use with state operations",
+ "sourceType":
"org.apache.camel.component.dapr.springboot.DaprComponentConfiguration"
+ },
{
"name": "camel.component.dapr.configuration",
"type": "org.apache.camel.component.dapr.DaprConfiguration",
"description": "The component configurations. The option is a
org.apache.camel.component.dapr.DaprConfiguration type.",
"sourceType":
"org.apache.camel.component.dapr.springboot.DaprComponentConfiguration"
},
+ {
+ "name": "camel.component.dapr.consistency",
+ "type": "io.dapr.client.domain.StateOptions$Consistency",
+ "description": "Consistency level to use with state operations",
+ "sourceType":
"org.apache.camel.component.dapr.springboot.DaprComponentConfiguration"
+ },
{
"name": "camel.component.dapr.customizer.enabled",
"type": "java.lang.Boolean",
"sourceType":
"org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon$CustomizerProperties"
},
+ {
+ "name": "camel.component.dapr.e-tag",
+ "type": "java.lang.String",
+ "description": "The eTag for optimistic concurrency during state save or
delete operations",
+ "sourceType":
"org.apache.camel.component.dapr.springboot.DaprComponentConfiguration"
+ },
{
"name": "camel.component.dapr.enabled",
"type": "java.lang.Boolean",
@@ -43,6 +61,12 @@
"description": "HTTP method to use when invoking the service. Accepts
verbs like GET, POST, PUT, DELETE, etc. Creates a minimal HttpExtension with no
headers or query params. Takes precedence over verb. The option is a
io.dapr.client.domain.HttpExtension type.",
"sourceType":
"org.apache.camel.component.dapr.springboot.DaprComponentConfiguration"
},
+ {
+ "name": "camel.component.dapr.key",
+ "type": "java.lang.String",
+ "description": "The key used to identify the state object within the
specified state store",
+ "sourceType":
"org.apache.camel.component.dapr.springboot.DaprComponentConfiguration"
+ },
{
"name": "camel.component.dapr.lazy-start-producer",
"type": "java.lang.Boolean",
@@ -62,6 +86,19 @@
"description": "Target service to invoke. Can be a Dapr App ID, a named
HTTPEndpoint, or a FQDN\/public URL",
"sourceType":
"org.apache.camel.component.dapr.springboot.DaprComponentConfiguration"
},
+ {
+ "name": "camel.component.dapr.state-operation",
+ "type": "org.apache.camel.component.dapr.StateOperation",
+ "description": "The state operation to perform on the state store.
Required for DaprOperation.state operation",
+ "sourceType":
"org.apache.camel.component.dapr.springboot.DaprComponentConfiguration",
+ "defaultValue": "get"
+ },
+ {
+ "name": "camel.component.dapr.state-store",
+ "type": "java.lang.String",
+ "description": "The name of the Dapr state store to interact with,
defined in statestore.yaml config",
+ "sourceType":
"org.apache.camel.component.dapr.springboot.DaprComponentConfiguration"
+ },
{
"name": "camel.component.dapr.verb",
"type": "java.lang.String",
diff --git
a/components-starter/camel-dapr-starter/src/main/java/org/apache/camel/component/dapr/springboot/DaprComponentConfiguration.java
b/components-starter/camel-dapr-starter/src/main/java/org/apache/camel/component/dapr/springboot/DaprComponentConfiguration.java
index 2c23c96df77..0411b484992 100644
---
a/components-starter/camel-dapr-starter/src/main/java/org/apache/camel/component/dapr/springboot/DaprComponentConfiguration.java
+++
b/components-starter/camel-dapr-starter/src/main/java/org/apache/camel/component/dapr/springboot/DaprComponentConfiguration.java
@@ -17,7 +17,11 @@
package org.apache.camel.component.dapr.springboot;
import io.dapr.client.domain.HttpExtension;
+import io.dapr.client.domain.StateOptions.Concurrency;
+import io.dapr.client.domain.StateOptions.Consistency;
+import org.apache.camel.component.dapr.DaprComponent;
import org.apache.camel.component.dapr.DaprConfiguration;
+import org.apache.camel.component.dapr.StateOperation;
import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon;
import org.springframework.boot.context.properties.ConfigurationProperties;
@@ -36,11 +40,24 @@ public class DaprComponentConfiguration
* enabled by default.
*/
private Boolean enabled;
+ /**
+ * Concurrency mode to use with state operations
+ */
+ private Concurrency concurrency;
/**
* The component configurations. The option is a
* org.apache.camel.component.dapr.DaprConfiguration type.
*/
private DaprConfiguration configuration;
+ /**
+ * Consistency level to use with state operations
+ */
+ private Consistency consistency;
+ /**
+ * The eTag for optimistic concurrency during state save or delete
+ * operations
+ */
+ private String eTag;
/**
* HTTP method to use when invoking the service. Accepts verbs like GET,
* POST, PUT, DELETE, etc. Creates a minimal HttpExtension with no headers
@@ -48,6 +65,11 @@ public class DaprComponentConfiguration
* io.dapr.client.domain.HttpExtension type.
*/
private HttpExtension httpExtension;
+ /**
+ * The key used to identify the state object within the specified state
+ * store
+ */
+ private String key;
/**
* Whether the producer should be started lazy (on the first message). By
* starting lazy you can use this to allow CamelContext and routes to
@@ -68,6 +90,16 @@ public class DaprComponentConfiguration
* a FQDN/public URL
*/
private String serviceToInvoke;
+ /**
+ * The state operation to perform on the state store. Required for
+ * DaprOperation.state operation
+ */
+ private StateOperation stateOperation = StateOperation.get;
+ /**
+ * The name of the Dapr state store to interact with, defined in
+ * statestore.yaml config
+ */
+ private String stateStore;
/**
* The HTTP verb to use for invoking the method
*/
@@ -82,6 +114,14 @@ public class DaprComponentConfiguration
*/
private Boolean autowiredEnabled = true;
+ public Concurrency getConcurrency() {
+ return concurrency;
+ }
+
+ public void setConcurrency(Concurrency concurrency) {
+ this.concurrency = concurrency;
+ }
+
public DaprConfiguration getConfiguration() {
return configuration;
}
@@ -90,6 +130,22 @@ public class DaprComponentConfiguration
this.configuration = configuration;
}
+ public Consistency getConsistency() {
+ return consistency;
+ }
+
+ public void setConsistency(Consistency consistency) {
+ this.consistency = consistency;
+ }
+
+ public String getETag() {
+ return eTag;
+ }
+
+ public void setETag(String eTag) {
+ this.eTag = eTag;
+ }
+
public HttpExtension getHttpExtension() {
return httpExtension;
}
@@ -98,6 +154,14 @@ public class DaprComponentConfiguration
this.httpExtension = httpExtension;
}
+ public String getKey() {
+ return key;
+ }
+
+ public void setKey(String key) {
+ this.key = key;
+ }
+
public Boolean getLazyStartProducer() {
return lazyStartProducer;
}
@@ -122,6 +186,22 @@ public class DaprComponentConfiguration
this.serviceToInvoke = serviceToInvoke;
}
+ public StateOperation getStateOperation() {
+ return stateOperation;
+ }
+
+ public void setStateOperation(StateOperation stateOperation) {
+ this.stateOperation = stateOperation;
+ }
+
+ public String getStateStore() {
+ return stateStore;
+ }
+
+ public void setStateStore(String stateStore) {
+ this.stateStore = stateStore;
+ }
+
public String getVerb() {
return verb;
}
diff --git a/components-starter/camel-sql-starter/src/main/docs/sql.json
b/components-starter/camel-sql-starter/src/main/docs/sql.json
index 4f396a56a8e..2929bafcb12 100644
--- a/components-starter/camel-sql-starter/src/main/docs/sql.json
+++ b/components-starter/camel-sql-starter/src/main/docs/sql.json
@@ -124,7 +124,7 @@
{
"name": "camel.component.sql.service-location-enabled",
"type": "java.lang.Boolean",
- "description": "Whether to detect the network address location of the
JMS broker on startup. This information is gathered via reflection on the
ConnectionFactory, and is vendor specific. This option can be used to turn this
off.",
+ "description": "Whether to detect the network address location of the
Database on startup. This information is gathered via reflection on the
DataSource, and is vendor specific. This option can be used to turn this off.",
"sourceType":
"org.apache.camel.component.sql.springboot.SqlComponentConfiguration",
"defaultValue": true
},
diff --git
a/components-starter/camel-sql-starter/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java
b/components-starter/camel-sql-starter/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java
index 5b2b3c98db0..b1b218b30d7 100644
---
a/components-starter/camel-sql-starter/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java
+++
b/components-starter/camel-sql-starter/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java
@@ -98,10 +98,9 @@ public class SqlComponentConfiguration
*/
private RowMapperFactory rowMapperFactory;
/**
- * Whether to detect the network address location of the JMS broker on
- * startup. This information is gathered via reflection on the
- * ConnectionFactory, and is vendor specific. This option can be used to
- * turn this off.
+ * Whether to detect the network address location of the Database on
+ * startup. This information is gathered via reflection on the DataSource,
+ * and is vendor specific. This option can be used to turn this off.
*/
private Boolean serviceLocationEnabled = true;
/**
diff --git a/tooling/camel-spring-boot-dependencies/pom.xml
b/tooling/camel-spring-boot-dependencies/pom.xml
index 0b3fc34734e..2a79c88e7c9 100644
--- a/tooling/camel-spring-boot-dependencies/pom.xml
+++ b/tooling/camel-spring-boot-dependencies/pom.xml
@@ -30,11 +30,6 @@
<description>Camel Spring-Boot Dependencies BOM</description>
<dependencyManagement>
<dependencies>
- <dependency>
- <groupId>com.fasterxml.woodstox</groupId>
- <artifactId>woodstox-core</artifactId>
- <version>7.1.0</version>
- </dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-2common-protos</artifactId>
@@ -4675,11 +4670,6 @@
<artifactId>plexus-xml</artifactId>
<version>3.0.1</version>
</dependency>
- <dependency>
- <groupId>org.codehaus.woodstox</groupId>
- <artifactId>stax2-api</artifactId>
- <version>4.2.2</version>
- </dependency>
<dependency>
<groupId>org.xmlunit</groupId>
<artifactId>xmlunit-assertj3</artifactId>