lburgazzoli commented on issue #1579:
URL: https://github.com/apache/camel-k/issues/1579#issuecomment-651139598
> > The current implementation only accept a reference to a Processor stored
in the registry so to reference a class you should use the bean dsl,
>
> What's the YAML side code for using the reference?
You need to bind a processor to the context with what @davsclaus described
and the using the `ref` property of the `process` step, something like:
```yaml
- from:
uri: "direct:route"
steps:
- process:
ref: "myProcessor"
- to: "mock:route"
```
The processor need to be bound to the context, i.e. by using an additional
class, like:
```java
public class MyConfigurer {
@BindToRegistry
public myProcessor() {
return e -> { ... };
}
}
```
btw, we have also a gitter room and a mailing list for general discussions,
whereas here is to report issues.
[1] https://gitter.im/apache/camel-k
[2] https://camel.apache.org/community/mailing-list
----------------------------------------------------------------
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]