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

camel-core - @Consume annotation should not be marked for constructor injection

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.10.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      This does not make sense, as its really only for methods, eg to Camel call a methods when a message is consumed.

      The @Produce is for field/constructor injection and not method.
      And same for @EndpointInject

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment