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

Allow @ProperyInject on bean method arguments

    XMLWordPrintableJSON

    Details

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

      Description

      So you can call methods which have parameters injected from the properties placeholder, such as string / int types etc.

          public String sayHello(String @PropertyInject("reply") reply) throws  {
      

      So the reply parameters is taken from the property placeholder.

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: