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

Allow @ProperyInject on bean method arguments

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.18.0
    • camel-core
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: