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

camel-bean - Move parameter type matching to a new parameterTypes option

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.0-M3, 4.0.0
    • camel-bean
    • None
    • Advanced

    Description

      See CAMEL-19098

      When invoking a method

      myBean?method=foo(hello)

      Then Camel will match by type (was implemented first), eg to see if the method has a parameter of type 'hello'.

      This is intended for

      myBean?method=foo(String, int)

      To match a method that has String, int as types.

      However users want to pass in that as parameter values instead (implemented later). So instead lets move the parameter type matching away

      myBean?method=foo&parameterTypes=String,int

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: