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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.2, 3.5.0
    • Component/s: camel-bean
    • Labels:
      None
    • Estimated Complexity:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: