This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 67d878d Added point for anonymous inner classes usage (#3753) 67d878d is described below commit 67d878d34b79b24f88a4ad5d9a6bcc667f0dbe82 Author: swapy <spmswap...@gmail.com> AuthorDate: Fri Apr 17 10:54:40 2020 +0530 Added point for anonymous inner classes usage (#3753) Reusability is not mentioned. Mentioned that. --- docs/user-manual/modules/ROOT/pages/processor.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/user-manual/modules/ROOT/pages/processor.adoc b/docs/user-manual/modules/ROOT/pages/processor.adoc index fa4094d..0309adb 100644 --- a/docs/user-manual/modules/ROOT/pages/processor.adoc +++ b/docs/user-manual/modules/ROOT/pages/processor.adoc @@ -75,7 +75,8 @@ The process can be used in routes as an anonymous inner class such: This is usable for quickly whirling up some code. If the code in the inner class gets a bit more complicated it is of course advised to -refactor it into a separate class. +refactor it into a separate class. This approach is better if you do not want to use this processor again. +From reusability perspective, it is not recommended to follow this approach. [[Processor-TurningyourprocessorintoafullComponent]] == Turning your processor into a full Component