Skip to content

Commit 9acd8bf

Browse files
gnodetclaude
andcommitted
CAMEL-23239: Regenerate catalog and endpoint DSL for state-store changes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1a12096 commit 9acd8bf

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/state-store.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"producerOnly": true,
2222
"lenientProperties": false,
2323
"browsable": false,
24-
"remote": false
24+
"remote": true
2525
},
2626
"componentProperties": {
2727
"lazyStartProducer": { "index": 0, "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 during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing." },
@@ -37,6 +37,6 @@
3737
"operation": { "index": 1, "kind": "parameter", "displayName": "Operation", "group": "producer", "label": "", "required": false, "type": "enum", "javaType": "org.apache.camel.component.statestore.StateStoreOperations", "enum": [ "put", "putIfAbsent", "get", "delete", "contains", "keys", "size", "clear" ], "deprecated": false, "autowired": false, "secret": false, "description": "The default operation to perform" },
3838
"ttl": { "index": 2, "kind": "parameter", "displayName": "Ttl", "group": "producer", "label": "", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 0, "description": "Time-to-live in milliseconds for entries. 0 means no expiry." },
3939
"lazyStartProducer": { "index": 3, "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 otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing." },
40-
"backend": { "index": 4, "kind": "parameter", "displayName": "Backend", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.statestore.StateStoreBackend", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "memory", "description": "The backend to use. Default is an in-memory store. Set to a bean reference (e.g. #myBackend) for custom backends." }
40+
"backend": { "index": 4, "kind": "parameter", "displayName": "Backend", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.statestore.StateStoreBackend", "deprecated": false, "autowired": false, "secret": false, "description": "The backend to use. If not set, auto-discovers a single StateStoreBackend from the registry, or falls back to an in-memory store." }
4141
}
4242
}

dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/StateStoreEndpointBuilderFactory.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -163,16 +163,16 @@ default AdvancedStateStoreEndpointBuilder lazyStartProducer(String lazyStartProd
163163
return this;
164164
}
165165
/**
166-
* The backend to use. Default is an in-memory store. Set to a bean
167-
* reference (e.g. #myBackend) for custom backends.
168-
*
166+
* The backend to use. If not set, auto-discovers a single
167+
* StateStoreBackend from the registry, or falls back to an in-memory
168+
* store.
169+
*
169170
* The option is a:
170171
* <code>org.apache.camel.component.statestore.StateStoreBackend</code>
171172
* type.
172-
*
173-
* Default: memory
173+
*
174174
* Group: advanced
175-
*
175+
*
176176
* @param backend the value to set
177177
* @return the dsl builder
178178
*/
@@ -181,16 +181,16 @@ default AdvancedStateStoreEndpointBuilder backend(org.apache.camel.component.sta
181181
return this;
182182
}
183183
/**
184-
* The backend to use. Default is an in-memory store. Set to a bean
185-
* reference (e.g. #myBackend) for custom backends.
186-
*
184+
* The backend to use. If not set, auto-discovers a single
185+
* StateStoreBackend from the registry, or falls back to an in-memory
186+
* store.
187+
*
187188
* The option will be converted to a
188189
* <code>org.apache.camel.component.statestore.StateStoreBackend</code>
189190
* type.
190-
*
191-
* Default: memory
191+
*
192192
* Group: advanced
193-
*
193+
*
194194
* @param backend the value to set
195195
* @return the dsl builder
196196
*/

0 commit comments

Comments
 (0)