[
https://issues.apache.org/jira/browse/CAMEL-21864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-21864.
---------------------------------
Resolution: Won't Fix
> Ambiguous method invocations possible:-public static int
> java.lang.Math.multiplyExact(int,int)
> ----------------------------------------------------------------------------------------------
>
> Key: CAMEL-21864
> URL: https://issues.apache.org/jira/browse/CAMEL-21864
> Project: Camel
> Issue Type: Bug
> Components: came-core
> Reporter: Senthil
> Priority: Minor
>
> ${bean:type:java.lang.Math::multiplyExact(${bean:type:java.lang.Integer::parseInt(${exchangeProperty.num1})},
> ${bean:type:java.lang.Integer::parseInt(${exchangeProperty.num2})})}
> I am trying to simple arithmetic operation, is there a way to perform,
> Caused by: org.apache.camel.component.bean.AmbiguousMethodCallException:
> Ambiguous method invocations possible:
> Class: java.lang.Math
> public static int java.lang.Math.multiplyExact(int,int)
> public static long java.lang.Math.multiplyExact(long,long)
> public static long java.lang.Math.multiplyExact(long,int)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)