doru1004 edited a comment on issue #1579:
URL: https://github.com/apache/camel-k/issues/1579#issuecomment-650805380


   Note to the above comment: I am doing this in an all Camel example and I was 
able to get it to work by **not** using the `@BindToRegistry` annotation but by 
doing this:
   
   ```
   camelContext.getRegistry().bind("MyProcessor", new MyProcessor());
   ```
   
   How do I transition from this way of doing this to using the annotation 
instead? Or is that possible only with camel k ?


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to