Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15278

camel-bean: @Handler annotation does not work for proxied beans

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.4.2, 3.5.0
    • camel-bean
    • None
    • Unknown

    Description

      On some containers such as ArC, beans retrieved from the container are proxy for the actual bean and as the proxy does not preserve the annotations on methods, methods annotated with @Handler are not automatically selected.

      We should probably walk the class hierarchy to see if there is a method annotated with @Handler

      https://github.com/apache/camel-quarkus/issues/1459

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              lb Luca Burgazzoli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: