Josh Smith created CAMEL-15810:
----------------------------------

             Summary: Can't call overloaded method using simple expression 
returning subtype of expected parameter 
                 Key: CAMEL-15810
                 URL: https://issues.apache.org/jira/browse/CAMEL-15810
             Project: Camel
          Issue Type: Bug
          Components: came-core
    Affects Versions: 3.4.4
            Reporter: Josh Smith
         Attachments: camel-overloaded-method-inheritance-test.patch

When calling an overloaded method, Camel has to evaluate the parameter types to 
determine which is the correct method to call. For a parameter that is a simple 
expression, Camel will evaluate the type, but doesn't recognize it can call a 
method with a subtype of the expected type.

I've included a patch with a test to demonstrate.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to