lburgazzoli commented on pull request #2217:
URL: https://github.com/apache/camel-k/pull/2217#issuecomment-824632419
about the `bean|ref` I do not yet have a clear vision, was wondering about
having two options:
1. reference to a bean in the registry
```yaml
- ref: "ref-to-a-bean"
```
2. description of a bean to be created
```yaml
- bean:
type: "the-full-qualified-class-name"
properties:
foo: bar
```
This last option is a façade over the ref, where the operator should
leverage the camel-main to [specify custom
beans](https://camel.apache.org/components/3.7.x/others/main.html#_specifying_custom_beans)
to register a bean to the registry. The generated properties could looks like:
```
camel.beans.global-error-handler = #class:the-full-qualified-class-name
camel.beans.global-error-handler.foo = bar
```
For consistency, the same mechanic can be used to implement the other error
handler types.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]