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 f84b9265e3b [create-pull-request] automated change (#2017)
f84b9265e3b is described below
commit f84b9265e3b05d0ebd462daaf948dbbfac5b5f88
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Oct 5 08:52:25 2026 +0200
[create-pull-request] automated change (#2017)
Co-authored-by: oscerd <[email protected]>
---
.../springboot/catalog/components/ai-tool.json | 6 +-
.../springboot/catalog/components/openfga.json | 105 +++++++++++----------
.../src/main/docs/ai-tool.json | 6 ++
.../springboot/AiToolComponentConfiguration.java | 23 +++++
.../tool/springboot/AiToolComponentConverter.java | 1 +
.../src/main/docs/openfga.json | 18 ++++
.../springboot/OpenFgaComponentConfiguration.java | 47 +++++++++
.../modules/ROOT/pages/starters/ai-tool.adoc | 3 +-
.../modules/ROOT/pages/starters/openfga.adoc | 5 +-
9 files changed, 161 insertions(+), 53 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/ai-tool.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/ai-tool.json
index e3d1250783a..00b87f06c2c 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/ai-tool.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/ai-tool.json
@@ -38,7 +38,8 @@
"returnDirect": { "index": 11, "kind": "property", "displayName": "Return
Direct", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "java.lang.Boolean", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.ai.tool.AiToolConfiguration", "configurationField":
"configuration", "description": "When true, AI producers that support agentic
tool loo [...]
"tags": { "index": 12, "kind": "property", "displayName": "Tags", "group":
"consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.ai.tool.AiToolConfiguration", "configurationField":
"configuration", "description": "Comma-separated list of tags used to group
tools. Producers filter the registry by these tags t [...]
"title": { "index": 13, "kind": "property", "displayName": "Title",
"group": "consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.ai.tool.AiToolConfiguration", "configurationField":
"configuration", "description": "Optional display title for MCP tool listings.
Advisory hint for MCP clients only." },
- "autowiredEnabled": { "index": 14, "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 [...]
+ "autowiredEnabled": { "index": 14, "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 [...]
+ "authorizationPolicy": { "index": 15, "kind": "property", "displayName":
"Authorization Policy", "group": "security", "label": "consumer,security",
"required": false, "type": "object", "javaType":
"org.apache.camel.spi.AuthorizationPolicy", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.ai.tool.AiToolConfiguration",
"configurationField": "configuration", "description": "Reference to an
org.apache.came [...]
},
"properties": {
"toolName": { "index": 0, "kind": "path", "displayName": "Tool Name",
"group": "consumer", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "The tool name. This is the
name the LLM sees and uses to invoke the tool." },
@@ -56,6 +57,7 @@
"title": { "index": 12, "kind": "parameter", "displayName": "Title",
"group": "consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.ai.tool.AiToolConfiguration", "configurationField":
"configuration", "description": "Optional display title for MCP tool listings.
Advisory hint for MCP clients only." },
"bridgeErrorHandler": { "index": 13, "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 [...]
"exceptionHandler": { "index": 14, "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 de [...]
- "exchangePattern": { "index": 15, "kind": "parameter", "displayName":
"Exchange Pattern", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "enum", "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." }
+ "exchangePattern": { "index": 15, "kind": "parameter", "displayName":
"Exchange Pattern", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "enum", "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." },
+ "authorizationPolicy": { "index": 16, "kind": "parameter", "displayName":
"Authorization Policy", "group": "security", "label": "consumer,security",
"required": false, "type": "object", "javaType":
"org.apache.camel.spi.AuthorizationPolicy", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.ai.tool.AiToolConfiguration",
"configurationField": "configuration", "description": "Reference to an
org.apache.cam [...]
}
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/openfga.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/openfga.json
index 80b55251e8b..849c7f368bb 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/openfga.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/openfga.json
@@ -30,31 +30,34 @@
"configuration": { "index": 3, "kind": "property", "displayName":
"Configuration", "group": "producer", "label": "", "required": false, "type":
"object", "javaType":
"org.apache.camel.component.openfga.OpenFgaConfiguration", "deprecated": false,
"autowired": false, "secret": false, "description": "The component
configuration." },
"consistency": { "index": 4, "kind": "property", "displayName":
"Consistency", "group": "producer", "label": "", "required": false, "type":
"enum", "javaType": "java.lang.String", "enum": [ "UNSPECIFIED",
"MINIMIZE_LATENCY", "HIGHER_CONSISTENCY" ], "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The consistency the
query is answered with. O [...]
"contextualTuples": { "index": 5, "kind": "property", "displayName":
"Contextual Tuples", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Relationship tuples
supplied for the duration of one check and never stored, as semicolon-separated
u [...]
- "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 [...]
- "object": { "index": 7, "kind": "property", "displayName": "Object",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The object being
accessed, as an OpenFGA object identifier such as {code document:budget}.
Evaluated as a Simple expressio [...]
- "relation": { "index": 8, "kind": "property", "displayName": "Relation",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The relation to demand,
such as reader or owner. Evaluated as a Simple expression against each
exchange, though a lite [...]
- "relations": { "index": 9, "kind": "property", "displayName": "Relations",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Comma-separated list of
relations the listRelations operation asks about, for example
reader,writer,owner. Only the [...]
- "storeId": { "index": 10, "kind": "property", "displayName": "Store Id",
"group": "producer", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The identifier of the
OpenFGA store holding the relationship tuples and the authorization model, [...]
- "type": { "index": 11, "kind": "property", "displayName": "Type", "group":
"producer", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The object type to
enumerate for the listObjects operation, for example document. This is a type
name from the authorization [...]
- "user": { "index": 12, "kind": "property", "displayName": "User", "group":
"producer", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The subject to
authorize, as an OpenFGA user identifier such as {code user:anne}. Evaluated as
a Simple expression against ea [...]
- "userFilters": { "index": 13, "kind": "property", "displayName": "User
Filters", "group": "producer", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Comma-separated list of
user filters for the listUsers operation, naming which kinds of subject to
return. An [...]
- "autowiredEnabled": { "index": 14, "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 [...]
- "connectTimeout": { "index": 15, "kind": "property", "displayName":
"Connect Timeout", "group": "advanced", "label": "advanced", "required": false,
"type": "duration", "javaType": "long", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "10000", "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "How long to wait for the
connection to OpenFGA to be established. The component a [...]
- "maxParallelRequests": { "index": 16, "kind": "property", "displayName":
"Max Parallel Requests", "group": "advanced", "label": "advanced", "required":
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": 10, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "How many of a
batchCheck's checks may be in flight at once. The batch is issu [...]
- "maxRetries": { "index": 17, "kind": "property", "displayName": "Max
Retries", "group": "advanced", "label": "advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 3, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "How many times the SDK
retries a request that failed in a way worth retrying, such as a rate limi [...]
- "openFgaClient": { "index": 18, "kind": "property", "displayName": "Open
Fga Client", "group": "advanced", "label": "advanced", "required": false,
"type": "object", "javaType": "dev.openfga.sdk.api.client.OpenFgaClient",
"deprecated": false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "An existing
OpenFgaClient to use. When set, every o [...]
- "readTimeout": { "index": 19, "kind": "property", "displayName": "Read
Timeout", "group": "advanced", "label": "advanced", "required": false, "type":
"duration", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "10000", "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "How long to wait for one
request to OpenFGA to complete once connected. A request that [...]
- "healthCheckConsumerEnabled": { "index": 20, "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": 21, "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 [...]
- "apiAudience": { "index": 22, "kind": "property", "displayName": "Api
Audience", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The audience to request
the access token for in the client-credentials flow." },
- "apiToken": { "index": 23, "kind": "property", "displayName": "Api Token",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Pre-shared token sent to
OpenFGA in the Authorization header, for a server started with [...]
- "apiTokenIssuer": { "index": 24, "kind": "property", "displayName": "Api
Token Issuer", "group": "security", "label": "security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The token endpoint the
client-credentials flow exchanges its credentials at." },
- "clientId": { "index": 25, "kind": "property", "displayName": "Client Id",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Client identifier for
the OAuth 2.0 client-credentials flow, for a server that authenticates through
an OIDC [...]
- "clientSecret": { "index": 26, "kind": "property", "displayName": "Client
Secret", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Client secret for the
OAuth 2.0 client-credentials flow." },
- "failOpen": { "index": 27, "kind": "property", "displayName": "Fail Open",
"group": "security", "label": "security", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "security": "insecure:dev", "defaultValue": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Whether to let the
exchange proceed when OpenFGA could not be ask [...]
- "scopes": { "index": 28, "kind": "property", "displayName": "Scopes",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Space-separated scopes
to request in the client-credentials flow." },
- "sslContextParameters": { "index": 29, "kind": "property", "displayName":
"Ssl Context Parameters", "group": "security", "label": "security", "required":
false, "type": "object", "javaType":
"org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "TLS configuration for
the connection to OpenFGA. [...]
- "useGlobalSslContextParameters": { "index": 30, "kind": "property",
"displayName": "Use Global Ssl Context Parameters", "group": "security",
"label": "security", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Enable usage of global SSL context
parameters." }
+ "continuationToken": { "index": 6, "kind": "property", "displayName":
"Continuation Token", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The page to read from,
for readTuples and readChanges. Evaluated as a Simple expression against the
[...]
+ "lazyStartProducer": { "index": 7, "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 [...]
+ "object": { "index": 8, "kind": "property", "displayName": "Object",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The object being
accessed, as an OpenFGA object identifier such as {code document:budget}.
Evaluated as a Simple expressio [...]
+ "pageSize": { "index": 9, "kind": "property", "displayName": "Page Size",
"group": "producer", "label": "", "required": false, "type": "integer",
"javaType": "java.lang.Integer", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "How many entries a
readTuples or readChanges page returns. Left unset, OpenFGA's own default
applies. A page is one [...]
+ "relation": { "index": 10, "kind": "property", "displayName": "Relation",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The relation to demand,
such as reader or owner. Evaluated as a Simple expression against each
exchange, though a lit [...]
+ "relations": { "index": 11, "kind": "property", "displayName":
"Relations", "group": "producer", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Comma-separated list of
relations the listRelations operation asks about, for example
reader,writer,owner. Only the [...]
+ "startTime": { "index": 12, "kind": "property", "displayName": "Start
Time", "group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The earliest change
readChanges returns, as an ISO-8601 timestamp such as {code
2026-10-01T00:00:00Z}. Without it [...]
+ "storeId": { "index": 13, "kind": "property", "displayName": "Store Id",
"group": "producer", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The identifier of the
OpenFGA store holding the relationship tuples and the authorization model, [...]
+ "type": { "index": 14, "kind": "property", "displayName": "Type", "group":
"producer", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The object type to
enumerate for the listObjects operation, for example document. This is a type
name from the authorization [...]
+ "user": { "index": 15, "kind": "property", "displayName": "User", "group":
"producer", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The subject to
authorize, as an OpenFGA user identifier such as {code user:anne}. Evaluated as
a Simple expression against ea [...]
+ "userFilters": { "index": 16, "kind": "property", "displayName": "User
Filters", "group": "producer", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Comma-separated list of
user filters for the listUsers operation, naming which kinds of subject to
return. An [...]
+ "autowiredEnabled": { "index": 17, "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 [...]
+ "connectTimeout": { "index": 18, "kind": "property", "displayName":
"Connect Timeout", "group": "advanced", "label": "advanced", "required": false,
"type": "duration", "javaType": "long", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "10000", "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "How long to wait for the
connection to OpenFGA to be established. The component a [...]
+ "maxParallelRequests": { "index": 19, "kind": "property", "displayName":
"Max Parallel Requests", "group": "advanced", "label": "advanced", "required":
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": 10, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "How many of a
batchCheck's checks may be in flight at once. The batch is issu [...]
+ "maxRetries": { "index": 20, "kind": "property", "displayName": "Max
Retries", "group": "advanced", "label": "advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 3, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "How many times the SDK
retries a request that failed in a way worth retrying, such as a rate limi [...]
+ "openFgaClient": { "index": 21, "kind": "property", "displayName": "Open
Fga Client", "group": "advanced", "label": "advanced", "required": false,
"type": "object", "javaType": "dev.openfga.sdk.api.client.OpenFgaClient",
"deprecated": false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "An existing
OpenFgaClient to use. When set, every o [...]
+ "readTimeout": { "index": 22, "kind": "property", "displayName": "Read
Timeout", "group": "advanced", "label": "advanced", "required": false, "type":
"duration", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "10000", "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "How long to wait for one
request to OpenFGA to complete once connected. A request that [...]
+ "healthCheckConsumerEnabled": { "index": 23, "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": 24, "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 [...]
+ "apiAudience": { "index": 25, "kind": "property", "displayName": "Api
Audience", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The audience to request
the access token for in the client-credentials flow." },
+ "apiToken": { "index": 26, "kind": "property", "displayName": "Api Token",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Pre-shared token sent to
OpenFGA in the Authorization header, for a server started with [...]
+ "apiTokenIssuer": { "index": 27, "kind": "property", "displayName": "Api
Token Issuer", "group": "security", "label": "security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The token endpoint the
client-credentials flow exchanges its credentials at." },
+ "clientId": { "index": 28, "kind": "property", "displayName": "Client Id",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Client identifier for
the OAuth 2.0 client-credentials flow, for a server that authenticates through
an OIDC [...]
+ "clientSecret": { "index": 29, "kind": "property", "displayName": "Client
Secret", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Client secret for the
OAuth 2.0 client-credentials flow." },
+ "failOpen": { "index": 30, "kind": "property", "displayName": "Fail Open",
"group": "security", "label": "security", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "security": "insecure:dev", "defaultValue": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Whether to let the
exchange proceed when OpenFGA could not be ask [...]
+ "scopes": { "index": 31, "kind": "property", "displayName": "Scopes",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Space-separated scopes
to request in the client-credentials flow." },
+ "sslContextParameters": { "index": 32, "kind": "property", "displayName":
"Ssl Context Parameters", "group": "security", "label": "security", "required":
false, "type": "object", "javaType":
"org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "TLS configuration for
the connection to OpenFGA. [...]
+ "useGlobalSslContextParameters": { "index": 33, "kind": "property",
"displayName": "Use Global Ssl Context Parameters", "group": "security",
"label": "security", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Enable usage of global SSL context
parameters." }
},
"headers": {
"CamelOpenFgaAllowed": { "index": 0, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"Boolean", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "The allow\/deny verdict of the authorization
check. Always overwritten by the component, so a value set by an inbound
message never survives into the route.", "constantName":
"org.apache.camel.component.openfga.OpenFgaConstants#ALLOWED" },
@@ -64,36 +67,40 @@
"CamelOpenFgaObject": { "index": 4, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"String", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "The object the check was made against, as
resolved from the endpoint's object expression. Set for observability; it is
not read as an input.", "constantName":
"org.apache.camel.component.openfga.OpenFgaConstants#OBJECT" },
"CamelOpenFgaRelation": { "index": 5, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"String", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "The relation that was checked. Set for
observability; it is not read as an input and cannot be used to demand a weaker
permission than the endpoint configured.", "constantName":
"org.apache.camel.component.openfga.OpenFgaConstants#RE [...]
"CamelOpenFgaStoreId": { "index": 6, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"String", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "The identifier of the OpenFGA store that was
consulted, so an audit trail records which relationship graph produced the
verdict.", "constantName":
"org.apache.camel.component.openfga.OpenFgaConstants#STORE_ID" },
- "CamelOpenFgaWrittenTuples": { "index": 7, "kind": "header",
"displayName": "", "group": "producer", "label": "producer", "required": false,
"javaType": "Integer", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "How many relationship tuples the
writeTuples operation wrote.", "constantName":
"org.apache.camel.component.openfga.OpenFgaConstants#WRITTEN_TUPLES" },
- "CamelOpenFgaDeletedTuples": { "index": 8, "kind": "header",
"displayName": "", "group": "producer", "label": "producer", "required": false,
"javaType": "Integer", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "How many relationship tuples the
deleteTuples operation deleted.", "constantName":
"org.apache.camel.component.openfga.OpenFgaConstants#DELETED_TUPLES" }
+ "CamelOpenFgaContinuationToken": { "index": 7, "kind": "header",
"displayName": "", "group": "producer", "label": "producer", "required": false,
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "The continuation token the page came
back with. Feed it back through the continuationToken option to read on. The
two operations end differently: readTuples returns no token on its last page,
so the header is absent once the [...]
+ "CamelOpenFgaWrittenTuples": { "index": 8, "kind": "header",
"displayName": "", "group": "producer", "label": "producer", "required": false,
"javaType": "Integer", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "How many relationship tuples the
writeTuples operation wrote.", "constantName":
"org.apache.camel.component.openfga.OpenFgaConstants#WRITTEN_TUPLES" },
+ "CamelOpenFgaDeletedTuples": { "index": 9, "kind": "header",
"displayName": "", "group": "producer", "label": "producer", "required": false,
"javaType": "Integer", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "How many relationship tuples the
deleteTuples operation deleted.", "constantName":
"org.apache.camel.component.openfga.OpenFgaConstants#DELETED_TUPLES" }
},
"properties": {
- "operation": { "index": 0, "kind": "path", "displayName": "Operation",
"group": "producer", "label": "", "required": true, "type": "enum", "javaType":
"org.apache.camel.component.openfga.OpenFgaOperation", "enum": [ "check",
"batchCheck", "listObjects", "listRelations", "listUsers", "writeTuples",
"deleteTuples" ], "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "The operation to perform. The operation
is taken from the endpoint only: i [...]
+ "operation": { "index": 0, "kind": "path", "displayName": "Operation",
"group": "producer", "label": "", "required": true, "type": "enum", "javaType":
"org.apache.camel.component.openfga.OpenFgaOperation", "enum": [ "check",
"batchCheck", "listObjects", "listRelations", "listUsers", "readTuples",
"readChanges", "expand", "writeTuples", "deleteTuples" ], "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "description": "The
operation to perform. The opera [...]
"apiUrl": { "index": 1, "kind": "parameter", "displayName": "Api Url",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "http:\/\/localhost:8080",
"configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The base URL of the
OpenFGA HTTP API, without a trailing path. The default as [...]
"authorizationModelId": { "index": 2, "kind": "parameter", "displayName":
"Authorization Model Id", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The identifier of the
authorization model revision to evaluate against. Leave it empty to u [...]
"conditionContext": { "index": 3, "kind": "parameter", "displayName":
"Condition Context", "group": "producer", "label": "", "required": false,
"type": "object", "javaType": "java.util.Map<java.lang.String,
java.lang.Object>", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Context passed to the
CEL expressions of any conditioned relation t [...]
"consistency": { "index": 4, "kind": "parameter", "displayName":
"Consistency", "group": "producer", "label": "", "required": false, "type":
"enum", "javaType": "java.lang.String", "enum": [ "UNSPECIFIED",
"MINIMIZE_LATENCY", "HIGHER_CONSISTENCY" ], "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The consistency the
query is answered with. [...]
"contextualTuples": { "index": 5, "kind": "parameter", "displayName":
"Contextual Tuples", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Relationship tuples
supplied for the duration of one check and never stored, as semicolon-separated
[...]
- "object": { "index": 6, "kind": "parameter", "displayName": "Object",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The object being
accessed, as an OpenFGA object identifier such as {code document:budget}.
Evaluated as a Simple expressi [...]
- "relation": { "index": 7, "kind": "parameter", "displayName": "Relation",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The relation to demand,
such as reader or owner. Evaluated as a Simple expression against each
exchange, though a lit [...]
- "relations": { "index": 8, "kind": "parameter", "displayName":
"Relations", "group": "producer", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Comma-separated list of
relations the listRelations operation asks about, for example
reader,writer,owner. Only the [...]
- "storeId": { "index": 9, "kind": "parameter", "displayName": "Store Id",
"group": "producer", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The identifier of the
OpenFGA store holding the relationship tuples and the authorization model, [...]
- "type": { "index": 10, "kind": "parameter", "displayName": "Type",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The object type to
enumerate for the listObjects operation, for example document. This is a type
name from the authorization [...]
- "user": { "index": 11, "kind": "parameter", "displayName": "User",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The subject to
authorize, as an OpenFGA user identifier such as {code user:anne}. Evaluated as
a Simple expression against e [...]
- "userFilters": { "index": 12, "kind": "parameter", "displayName": "User
Filters", "group": "producer", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Comma-separated list of
user filters for the listUsers operation, naming which kinds of subject to
return. An [...]
- "lazyStartProducer": { "index": 13, "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 [...]
- "connectTimeout": { "index": 14, "kind": "parameter", "displayName":
"Connect Timeout", "group": "advanced", "label": "advanced", "required": false,
"type": "duration", "javaType": "long", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "10000", "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "How long to wait for the
connection to OpenFGA to be established. The component [...]
- "maxParallelRequests": { "index": 15, "kind": "parameter", "displayName":
"Max Parallel Requests", "group": "advanced", "label": "advanced", "required":
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": 10, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "How many of a
batchCheck's checks may be in flight at once. The batch is iss [...]
- "maxRetries": { "index": 16, "kind": "parameter", "displayName": "Max
Retries", "group": "advanced", "label": "advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 3, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "How many times the SDK
retries a request that failed in a way worth retrying, such as a rate lim [...]
- "openFgaClient": { "index": 17, "kind": "parameter", "displayName": "Open
Fga Client", "group": "advanced", "label": "advanced", "required": false,
"type": "object", "javaType": "dev.openfga.sdk.api.client.OpenFgaClient",
"deprecated": false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "An existing
OpenFgaClient to use. When set, every [...]
- "readTimeout": { "index": 18, "kind": "parameter", "displayName": "Read
Timeout", "group": "advanced", "label": "advanced", "required": false, "type":
"duration", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "10000", "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "How long to wait for one
request to OpenFGA to complete once connected. A request that [...]
- "apiAudience": { "index": 19, "kind": "parameter", "displayName": "Api
Audience", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The audience to request
the access token for in the client-credentials flow." },
- "apiToken": { "index": 20, "kind": "parameter", "displayName": "Api
Token", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Pre-shared token sent to
OpenFGA in the Authorization header, for a server started wit [...]
- "apiTokenIssuer": { "index": 21, "kind": "parameter", "displayName": "Api
Token Issuer", "group": "security", "label": "security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The token endpoint the
client-credentials flow exchanges its credentials at." },
- "clientId": { "index": 22, "kind": "parameter", "displayName": "Client
Id", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Client identifier for
the OAuth 2.0 client-credentials flow, for a server that authenticates through
an OID [...]
- "clientSecret": { "index": 23, "kind": "parameter", "displayName": "Client
Secret", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Client secret for the
OAuth 2.0 client-credentials flow." },
- "failOpen": { "index": 24, "kind": "parameter", "displayName": "Fail
Open", "group": "security", "label": "security", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "security": "insecure:dev", "defaultValue": false,
"configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Whether to let the
exchange proceed when OpenFGA could not be as [...]
- "scopes": { "index": 25, "kind": "parameter", "displayName": "Scopes",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Space-separated scopes
to request in the client-credentials flow." },
- "sslContextParameters": { "index": 26, "kind": "parameter", "displayName":
"Ssl Context Parameters", "group": "security", "label": "security", "required":
false, "type": "object", "javaType":
"org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "TLS configuration for
the connection to OpenFGA. [...]
+ "continuationToken": { "index": 6, "kind": "parameter", "displayName":
"Continuation Token", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The page to read from,
for readTuples and readChanges. Evaluated as a Simple expression against th
[...]
+ "object": { "index": 7, "kind": "parameter", "displayName": "Object",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The object being
accessed, as an OpenFGA object identifier such as {code document:budget}.
Evaluated as a Simple expressi [...]
+ "pageSize": { "index": 8, "kind": "parameter", "displayName": "Page Size",
"group": "producer", "label": "", "required": false, "type": "integer",
"javaType": "java.lang.Integer", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "How many entries a
readTuples or readChanges page returns. Left unset, OpenFGA's own default
applies. A page is on [...]
+ "relation": { "index": 9, "kind": "parameter", "displayName": "Relation",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The relation to demand,
such as reader or owner. Evaluated as a Simple expression against each
exchange, though a lit [...]
+ "relations": { "index": 10, "kind": "parameter", "displayName":
"Relations", "group": "producer", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Comma-separated list of
relations the listRelations operation asks about, for example
reader,writer,owner. Only th [...]
+ "startTime": { "index": 11, "kind": "parameter", "displayName": "Start
Time", "group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The earliest change
readChanges returns, as an ISO-8601 timestamp such as {code
2026-10-01T00:00:00Z}. Without it [...]
+ "storeId": { "index": 12, "kind": "parameter", "displayName": "Store Id",
"group": "producer", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The identifier of the
OpenFGA store holding the relationship tuples and the authorization model [...]
+ "type": { "index": 13, "kind": "parameter", "displayName": "Type",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The object type to
enumerate for the listObjects operation, for example document. This is a type
name from the authorization [...]
+ "user": { "index": 14, "kind": "parameter", "displayName": "User",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The subject to
authorize, as an OpenFGA user identifier such as {code user:anne}. Evaluated as
a Simple expression against e [...]
+ "userFilters": { "index": 15, "kind": "parameter", "displayName": "User
Filters", "group": "producer", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Comma-separated list of
user filters for the listUsers operation, naming which kinds of subject to
return. An [...]
+ "lazyStartProducer": { "index": 16, "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 [...]
+ "connectTimeout": { "index": 17, "kind": "parameter", "displayName":
"Connect Timeout", "group": "advanced", "label": "advanced", "required": false,
"type": "duration", "javaType": "long", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "10000", "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "How long to wait for the
connection to OpenFGA to be established. The component [...]
+ "maxParallelRequests": { "index": 18, "kind": "parameter", "displayName":
"Max Parallel Requests", "group": "advanced", "label": "advanced", "required":
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": 10, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "How many of a
batchCheck's checks may be in flight at once. The batch is iss [...]
+ "maxRetries": { "index": 19, "kind": "parameter", "displayName": "Max
Retries", "group": "advanced", "label": "advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 3, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "How many times the SDK
retries a request that failed in a way worth retrying, such as a rate lim [...]
+ "openFgaClient": { "index": 20, "kind": "parameter", "displayName": "Open
Fga Client", "group": "advanced", "label": "advanced", "required": false,
"type": "object", "javaType": "dev.openfga.sdk.api.client.OpenFgaClient",
"deprecated": false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "An existing
OpenFgaClient to use. When set, every [...]
+ "readTimeout": { "index": 21, "kind": "parameter", "displayName": "Read
Timeout", "group": "advanced", "label": "advanced", "required": false, "type":
"duration", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "10000", "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "How long to wait for one
request to OpenFGA to complete once connected. A request that [...]
+ "apiAudience": { "index": 22, "kind": "parameter", "displayName": "Api
Audience", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The audience to request
the access token for in the client-credentials flow." },
+ "apiToken": { "index": 23, "kind": "parameter", "displayName": "Api
Token", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Pre-shared token sent to
OpenFGA in the Authorization header, for a server started wit [...]
+ "apiTokenIssuer": { "index": 24, "kind": "parameter", "displayName": "Api
Token Issuer", "group": "security", "label": "security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "The token endpoint the
client-credentials flow exchanges its credentials at." },
+ "clientId": { "index": 25, "kind": "parameter", "displayName": "Client
Id", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Client identifier for
the OAuth 2.0 client-credentials flow, for a server that authenticates through
an OID [...]
+ "clientSecret": { "index": 26, "kind": "parameter", "displayName": "Client
Secret", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Client secret for the
OAuth 2.0 client-credentials flow." },
+ "failOpen": { "index": 27, "kind": "parameter", "displayName": "Fail
Open", "group": "security", "label": "security", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "security": "insecure:dev", "defaultValue": false,
"configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Whether to let the
exchange proceed when OpenFGA could not be as [...]
+ "scopes": { "index": 28, "kind": "parameter", "displayName": "Scopes",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "Space-separated scopes
to request in the client-credentials flow." },
+ "sslContextParameters": { "index": 29, "kind": "parameter", "displayName":
"Ssl Context Parameters", "group": "security", "label": "security", "required":
false, "type": "object", "javaType":
"org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.openfga.OpenFgaConfiguration",
"configurationField": "configuration", "description": "TLS configuration for
the connection to OpenFGA. [...]
}
}
diff --git
a/components-starter/camel-ai-tool-starter/src/main/docs/ai-tool.json
b/components-starter/camel-ai-tool-starter/src/main/docs/ai-tool.json
index 1498d19ecea..480a01eb767 100644
--- a/components-starter/camel-ai-tool-starter/src/main/docs/ai-tool.json
+++ b/components-starter/camel-ai-tool-starter/src/main/docs/ai-tool.json
@@ -19,6 +19,12 @@
"description": "Raw JSON Schema for tool input parameters. Supports
inline JSON and resource references (classpath:, file:, resource:). Mutually
exclusive with the parameter multi-value options. Use for nested objects,
arrays, oneOf, and other complex schemas.",
"sourceType":
"org.apache.camel.component.ai.tool.springboot.AiToolComponentConfiguration"
},
+ {
+ "name": "camel.component.ai-tool.authorization-policy",
+ "type": "org.apache.camel.spi.AuthorizationPolicy",
+ "description": "Reference to an org.apache.camel.spi.AuthorizationPolicy
used to authorize tool calls before the route runs. Set it on the component to
guard every tool route by construction, or per endpoint to override. The policy
authorizes on trustworthy input only: the tool name comes from the route (never
from model output), and the caller identity is carried as an exchange property
set before the agent ran (for example by camel-spiffe or camel-keycloak), which
the model canno [...]
+ "sourceType":
"org.apache.camel.component.ai.tool.springboot.AiToolComponentConfiguration"
+ },
{
"name": "camel.component.ai-tool.autowired-enabled",
"type": "java.lang.Boolean",
diff --git
a/components-starter/camel-ai-tool-starter/src/main/java/org/apache/camel/component/ai/tool/springboot/AiToolComponentConfiguration.java
b/components-starter/camel-ai-tool-starter/src/main/java/org/apache/camel/component/ai/tool/springboot/AiToolComponentConfiguration.java
index 1ad2adb5976..7abfaa1754c 100644
---
a/components-starter/camel-ai-tool-starter/src/main/java/org/apache/camel/component/ai/tool/springboot/AiToolComponentConfiguration.java
+++
b/components-starter/camel-ai-tool-starter/src/main/java/org/apache/camel/component/ai/tool/springboot/AiToolComponentConfiguration.java
@@ -18,6 +18,7 @@ package org.apache.camel.component.ai.tool.springboot;
import java.util.Map;
import org.apache.camel.component.ai.tool.AiToolConfiguration;
+import org.apache.camel.spi.AuthorizationPolicy;
import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon;
import org.springframework.boot.context.properties.ConfigurationProperties;
@@ -139,6 +140,20 @@ public class AiToolComponentConfiguration
* etc.
*/
private Boolean autowiredEnabled = true;
+ /**
+ * Reference to an org.apache.camel.spi.AuthorizationPolicy used to
+ * authorize tool calls before the route runs. Set it on the component to
+ * guard every tool route by construction, or per endpoint to override. The
+ * policy authorizes on trustworthy input only: the tool name comes from
the
+ * route (never from model output), and the caller identity is carried as
an
+ * exchange property set before the agent ran (for example by camel-spiffe
+ * or camel-keycloak), which the model cannot set. Authorize on exchange
+ * properties or validated tokens only, never on message headers (on a tool
+ * route the headers carry the model-controlled tool arguments). A denied
+ * call surfaces to the model as a short refusal rather than a stack trace.
+ * The option is a org.apache.camel.spi.AuthorizationPolicy type.
+ */
+ private AuthorizationPolicy authorizationPolicy;
public String getArgSchema() {
return argSchema;
@@ -259,4 +274,12 @@ public class AiToolComponentConfiguration
public void setAutowiredEnabled(Boolean autowiredEnabled) {
this.autowiredEnabled = autowiredEnabled;
}
+
+ public AuthorizationPolicy getAuthorizationPolicy() {
+ return authorizationPolicy;
+ }
+
+ public void setAuthorizationPolicy(AuthorizationPolicy
authorizationPolicy) {
+ this.authorizationPolicy = authorizationPolicy;
+ }
}
\ No newline at end of file
diff --git
a/components-starter/camel-ai-tool-starter/src/main/java/org/apache/camel/component/ai/tool/springboot/AiToolComponentConverter.java
b/components-starter/camel-ai-tool-starter/src/main/java/org/apache/camel/component/ai/tool/springboot/AiToolComponentConverter.java
index 0ee40aad4e0..901341ea2d7 100644
---
a/components-starter/camel-ai-tool-starter/src/main/java/org/apache/camel/component/ai/tool/springboot/AiToolComponentConverter.java
+++
b/components-starter/camel-ai-tool-starter/src/main/java/org/apache/camel/component/ai/tool/springboot/AiToolComponentConverter.java
@@ -41,6 +41,7 @@ public class AiToolComponentConverter implements
GenericConverter {
public Set<ConvertiblePair> getConvertibleTypes() {
Set<ConvertiblePair> answer = new LinkedHashSet<>();
answer.add(new ConvertiblePair(String.class,
org.apache.camel.component.ai.tool.AiToolConfiguration.class));
+ answer.add(new ConvertiblePair(String.class,
org.apache.camel.spi.AuthorizationPolicy.class));
return answer;
}
diff --git
a/components-starter/camel-openfga-starter/src/main/docs/openfga.json
b/components-starter/camel-openfga-starter/src/main/docs/openfga.json
index 1fa759e53d1..29cf385d79f 100644
--- a/components-starter/camel-openfga-starter/src/main/docs/openfga.json
+++ b/components-starter/camel-openfga-starter/src/main/docs/openfga.json
@@ -94,6 +94,12 @@
"description": "Relationship tuples supplied for the duration of one
check and never stored, as semicolon-separated user,relation,object triples -
for example user:${exchangeProperty.authenticatedSubject},member,team:eng. Each
part is evaluated as a Simple expression against the exchange, exactly as user
and object are, and applies to check, batchCheck, listObjects, listRelations
and listUsers. This is how a route hands OpenFGA a relationship the stored
graph does not hold - a grou [...]
"sourceType":
"org.apache.camel.component.openfga.springboot.OpenFgaComponentConfiguration"
},
+ {
+ "name": "camel.component.openfga.continuation-token",
+ "type": "java.lang.String",
+ "description": "The page to read from, for readTuples and readChanges.
Evaluated as a Simple expression against the exchange, so a route can feed back
the token the previous page returned - ${header.CamelOpenFgaContinuationToken}
- and page through without the token being configured statically.",
+ "sourceType":
"org.apache.camel.component.openfga.springboot.OpenFgaComponentConfiguration"
+ },
{
"name": "camel.component.openfga.customizer.enabled",
"type": "java.lang.Boolean",
@@ -159,6 +165,12 @@
"description": "An existing OpenFgaClient to use. When set, every option
describing how to reach the server - apiUrl, storeId, the credentials, the
timeouts and sslContextParameters - is ignored, because they are baked into the
client that was handed over. The option is a
dev.openfga.sdk.api.client.OpenFgaClient type.",
"sourceType":
"org.apache.camel.component.openfga.springboot.OpenFgaComponentConfiguration"
},
+ {
+ "name": "camel.component.openfga.page-size",
+ "type": "java.lang.Integer",
+ "description": "How many entries a readTuples or readChanges page
returns. Left unset, OpenFGA's own default applies. A page is one request: this
bounds the answer, not the number of requests a route makes.",
+ "sourceType":
"org.apache.camel.component.openfga.springboot.OpenFgaComponentConfiguration"
+ },
{
"name": "camel.component.openfga.read-timeout",
"type": "java.lang.Long",
@@ -190,6 +202,12 @@
"description": "TLS configuration for the connection to OpenFGA. Needed
to trust a server whose certificate comes from a private CA, and to present a
client certificate to a server that requires mutual TLS - a SPIFFE X.509-SVID
obtained with {code camel-spiffe}, for instance, so the workload authenticates
to the decision point as itself. The option is a
org.apache.camel.support.jsse.SSLContextParameters type.",
"sourceType":
"org.apache.camel.component.openfga.springboot.OpenFgaComponentConfiguration"
},
+ {
+ "name": "camel.component.openfga.start-time",
+ "type": "java.lang.String",
+ "description": "The earliest change readChanges returns, as an ISO-8601
timestamp such as {code 2026-10-01T00:00:00Z}. Without it a first read starts
at the beginning of the store's change log, which on a busy store is a lot of
history to page through before reaching anything current. Parsed when the
endpoint starts, so a malformed value fails there rather than on the first
exchange.",
+ "sourceType":
"org.apache.camel.component.openfga.springboot.OpenFgaComponentConfiguration"
+ },
{
"name": "camel.component.openfga.store-id",
"type": "java.lang.String",
diff --git
a/components-starter/camel-openfga-starter/src/main/java/org/apache/camel/component/openfga/springboot/OpenFgaComponentConfiguration.java
b/components-starter/camel-openfga-starter/src/main/java/org/apache/camel/component/openfga/springboot/OpenFgaComponentConfiguration.java
index 023b249c6a9..b9ac5657639 100644
---
a/components-starter/camel-openfga-starter/src/main/java/org/apache/camel/component/openfga/springboot/OpenFgaComponentConfiguration.java
+++
b/components-starter/camel-openfga-starter/src/main/java/org/apache/camel/component/openfga/springboot/OpenFgaComponentConfiguration.java
@@ -106,6 +106,14 @@ public class OpenFgaComponentConfiguration
* different question than the one configured.
*/
private String contextualTuples;
+ /**
+ * The page to read from, for readTuples and readChanges. Evaluated as a
+ * Simple expression against the exchange, so a route can feed back the
+ * token the previous page returned -
+ * ${header.CamelOpenFgaContinuationToken} - and page through without the
+ * token being configured statically.
+ */
+ private String continuationToken;
/**
* Whether the producer should be started lazy (on the first message). By
* starting lazy you can use this to allow CamelContext and routes to
@@ -126,6 +134,12 @@ public class OpenFgaComponentConfiguration
* what decides whether it may have it.
*/
private String object;
+ /**
+ * How many entries a readTuples or readChanges page returns. Left unset,
+ * OpenFGA's own default applies. A page is one request: this bounds the
+ * answer, not the number of requests a route makes.
+ */
+ private Integer pageSize;
/**
* The relation to demand, such as reader or owner. Evaluated as a Simple
* expression against each exchange, though a literal is what you usually
@@ -141,6 +155,15 @@ public class OpenFgaComponentConfiguration
* come back.
*/
private String relations;
+ /**
+ * The earliest change readChanges returns, as an ISO-8601 timestamp such
as
+ * {code 2026-10-01T00:00:00Z}. Without it a first read starts at the
+ * beginning of the store's change log, which on a busy store is a lot of
+ * history to page through before reaching anything current. Parsed when
the
+ * endpoint starts, so a malformed value fails there rather than on the
+ * first exchange.
+ */
+ private String startTime;
/**
* The identifier of the OpenFGA store holding the relationship tuples and
* the authorization model, as returned by {code fga store create}. The
@@ -347,6 +370,14 @@ public class OpenFgaComponentConfiguration
this.contextualTuples = contextualTuples;
}
+ public String getContinuationToken() {
+ return continuationToken;
+ }
+
+ public void setContinuationToken(String continuationToken) {
+ this.continuationToken = continuationToken;
+ }
+
public Boolean getLazyStartProducer() {
return lazyStartProducer;
}
@@ -363,6 +394,14 @@ public class OpenFgaComponentConfiguration
this.object = object;
}
+ public Integer getPageSize() {
+ return pageSize;
+ }
+
+ public void setPageSize(Integer pageSize) {
+ this.pageSize = pageSize;
+ }
+
public String getRelation() {
return relation;
}
@@ -379,6 +418,14 @@ public class OpenFgaComponentConfiguration
this.relations = relations;
}
+ public String getStartTime() {
+ return startTime;
+ }
+
+ public void setStartTime(String startTime) {
+ this.startTime = startTime;
+ }
+
public String getStoreId() {
return storeId;
}
diff --git a/docs/spring-boot/modules/ROOT/pages/starters/ai-tool.adoc
b/docs/spring-boot/modules/ROOT/pages/starters/ai-tool.adoc
index e413b5e9d28..ac20d326cc3 100644
--- a/docs/spring-boot/modules/ROOT/pages/starters/ai-tool.adoc
+++ b/docs/spring-boot/modules/ROOT/pages/starters/ai-tool.adoc
@@ -23,12 +23,13 @@ Please refer to the above links for usage and configuration
details.
== Spring Boot Auto-Configuration
-The starter supports 16 options, which are listed below.
+The starter supports 17 options, which are listed below.
[width="100%",cols="2,5,^1,2",options="header"]
|===
| Name | Description | Default | Type
| camel.component.ai-tool.arg-schema | Raw JSON Schema for tool input
parameters. Supports inline JSON and resource references (classpath:, file:,
resource:). Mutually exclusive with the parameter multi-value options. Use for
nested objects, arrays, oneOf, and other complex schemas. | | String
+| camel.component.ai-tool.authorization-policy | Reference to an
org.apache.camel.spi.AuthorizationPolicy used to authorize tool calls before
the route runs. Set it on the component to guard every tool route by
construction, or per endpoint to override. The policy authorizes on trustworthy
input only: the tool name comes from the route (never from model output), and
the caller identity is carried as an exchange property set before the agent ran
(for example by camel-spiffe or camel-keycl [...]
| camel.component.ai-tool.autowired-enabled | 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 type, which then gets configured on the component. This can be used
for automatic configuring JDBC data sources, JMS connection factories, AWS
Clients, etc. | true | Boolean
| camel.component.ai-tool.bridge-error-handler | 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
messages, or the likes, will now be processed as a message and handled by the
routing Error Handler. Important: This is only possible if the 3rd party
component allows Camel to be alerted if an exception was thrown. Some
components handle this internally only, and theref [...]
| camel.component.ai-tool.configuration | The component configuration. The
option is a org.apache.camel.component.ai.tool.AiToolConfiguration type. | |
AiToolConfiguration
diff --git a/docs/spring-boot/modules/ROOT/pages/starters/openfga.adoc
b/docs/spring-boot/modules/ROOT/pages/starters/openfga.adoc
index b5053d4771c..5a1826f2990 100644
--- a/docs/spring-boot/modules/ROOT/pages/starters/openfga.adoc
+++ b/docs/spring-boot/modules/ROOT/pages/starters/openfga.adoc
@@ -23,7 +23,7 @@ Please refer to the above links for usage and configuration
details.
== Spring Boot Auto-Configuration
-The starter supports 32 options, which are listed below.
+The starter supports 35 options, which are listed below.
[width="100%",cols="2,5,^1,2",options="header"]
|===
@@ -41,6 +41,7 @@ The starter supports 32 options, which are listed below.
| camel.component.openfga.connect-timeout | How long to wait for the
connection to OpenFGA to be established. The component applies this itself
rather than through the SDK's own connectTimeout setting, which as of
openfga-sdk 0.10.1 is accepted and then never read, leaving the connect phase
bounded only by the operating system. The option is a long type. | 10000 | Long
| camel.component.openfga.consistency | The consistency the query is answered
with. OpenFGA's default, MINIMIZE_LATENCY, may answer from a replica that has
not caught up yet, which right after a revoke means a tuple that was deleted
can still grant access for a moment. Set HIGHER_CONSISTENCY on the paths where
that window matters, at the cost of latency. Left unset, OpenFGA's own default
applies. | | String
| camel.component.openfga.contextual-tuples | Relationship tuples supplied for
the duration of one check and never stored, as semicolon-separated
user,relation,object triples - for example
user:$\{exchangeProperty.authenticatedSubject},member,team:eng. Each part is
evaluated as a Simple expression against the exchange, exactly as user and
object are, and applies to check, batchCheck, listObjects, listRelations and
listUsers. This is how a route hands OpenFGA a relationship the stored gra [...]
+| camel.component.openfga.continuation-token | The page to read from, for
readTuples and readChanges. Evaluated as a Simple expression against the
exchange, so a route can feed back the token the previous page returned -
$\{header.CamelOpenFgaContinuationToken} - and page through without the token
being configured statically. | | String
| camel.component.openfga.enabled | Whether to enable auto configuration of
the openfga component. This is enabled by default. | | Boolean
| camel.component.openfga.fail-open | Whether to let the exchange proceed when
OpenFGA could not be asked at all, for example because the server is
unreachable. Disabled by default so that an unavailable decision point denies
rather than grants access. Do not enable this in production. It applies to the
check operation and to OpenFgaSecurityPolicy, the two places where proceed has
a meaning, and it covers only a failure to obtain a verdict. An exchange that
was denied, and an exchange th [...]
| camel.component.openfga.health-check-consumer-enabled | Used for enabling or
disabling all consumer based health checks from this component | true | Boolean
@@ -50,11 +51,13 @@ The starter supports 32 options, which are listed below.
| camel.component.openfga.max-retries | How many times the SDK retries a
request that failed in a way worth retrying, such as a rate limit or a 5xx. Set
it to 0 to disable retries; the overall wait a routing thread can spend on one
exchange grows with it. | 3 | Integer
| camel.component.openfga.object | The object being accessed, as an OpenFGA
object identifier such as \{code document:budget}. Evaluated as a Simple
expression against each exchange, so document:$\{header.documentId} names the
resource the message is about. Unlike the subject, taking the object from a
header is normal and safe: the caller is entitled to say which resource it
wants, and the check is what decides whether it may have it. | | String
| camel.component.openfga.open-fga-client | An existing OpenFgaClient to use.
When set, every option describing how to reach the server - apiUrl, storeId,
the credentials, the timeouts and sslContextParameters - is ignored, because
they are baked into the client that was handed over. The option is a
dev.openfga.sdk.api.client.OpenFgaClient type. | | OpenFgaClient
+| camel.component.openfga.page-size | How many entries a readTuples or
readChanges page returns. Left unset, OpenFGA's own default applies. A page is
one request: this bounds the answer, not the number of requests a route makes.
| | Integer
| camel.component.openfga.read-timeout | How long to wait for one request to
OpenFGA to complete once connected. A request that times out is a failure to
obtain a verdict rather than a deny, so it fails closed - or proceeds when
failOpen is set. The option is a long type. | 10000 | Long
| camel.component.openfga.relation | The relation to demand, such as reader or
owner. Evaluated as a Simple expression against each exchange, though a literal
is what you usually want. The relation is the permission being demanded, so
resolving it from an inbound header lets the caller pick the weakest one the
model defines. Keep it literal, or derive it from something the route controls
such as $\{header.CamelHttpMethod}. | | String
| camel.component.openfga.relations | Comma-separated list of relations the
listRelations operation asks about, for example reader,writer,owner. Only the
ones the subject actually holds come back. | | String
| camel.component.openfga.scopes | Space-separated scopes to request in the
client-credentials flow. | | String
| camel.component.openfga.ssl-context-parameters | TLS configuration for the
connection to OpenFGA. Needed to trust a server whose certificate comes from a
private CA, and to present a client certificate to a server that requires
mutual TLS - a SPIFFE X.509-SVID obtained with \{code camel-spiffe}, for
instance, so the workload authenticates to the decision point as itself. The
option is a org.apache.camel.support.jsse.SSLContextParameters type. | |
SSLContextParameters
+| camel.component.openfga.start-time | The earliest change readChanges
returns, as an ISO-8601 timestamp such as \{code 2026-10-01T00:00:00Z}. Without
it a first read starts at the beginning of the store's change log, which on a
busy store is a lot of history to page through before reaching anything
current. Parsed when the endpoint starts, so a malformed value fails there
rather than on the first exchange. | | String
| camel.component.openfga.store-id | The identifier of the OpenFGA store
holding the relationship tuples and the authorization model, as returned by
\{code fga store create}. The store is the relationship graph that judges the
exchange, so it comes from the endpoint only and is never taken from a message
header. | | String
| camel.component.openfga.type | The object type to enumerate for the
listObjects operation, for example document. This is a type name from the
authorization model, so it is taken literally rather than evaluated. | | String
| camel.component.openfga.use-global-ssl-context-parameters | Enable usage of
global SSL context parameters. | false | Boolean