Annotation Interface Handler
Marks a method on a bean as the preferred handler for
bean binding.
When Camel invokes a bean via the Bean EIP or
Consume and the bean has multiple public methods, it uses
heuristics to select the best match. Annotating exactly one method with @Handler short-circuits that
selection: Camel always calls the annotated method without ambiguity checks or reflection-based scoring. Only one
method per class should carry this annotation.- See Also: