Raymond created CAMEL-23680:
-------------------------------
Summary: Add group as scope to variables
Key: CAMEL-23680
URL: https://issues.apache.org/jira/browse/CAMEL-23680
Project: Camel
Issue Type: Improvement
Components: came-core
Affects Versions: 4.20.0
Reporter: Raymond
Currently a variable has three scopes: exchange, route and global. From the
documentation:
The variables are stored in one or more
{{{}org.apache.camel.spi.VariableRepository{}}}. By default, there are the
following repositories
* {{ExchangeVariableRepository}} - A private repository per {{Exchange}} that
holds variables that are private for the lifecycle of each {{{}Exchange{}}}.
* {{RouteVariableRepository}} - Uses {{route}} as id. A single repository,
that holds variables per {{{}Route{}}}.
* {{GlobalVariableRepository}} - Uses {{global}} as id. A single global
repository for the entire {{{}CamelContext{}}}.
I would like to use a group as scope.
Alternative it would be when there would be as BaseVariableRepositoy that I
could extend to my own scope.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)