Details
-
Type:
Improvement
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.17.0
-
Component/s: camel-core
-
Labels:None
-
Estimated Complexity:Unknown
Description
In the code we say
// loop and invoke each method Object beanToCall = beanHolder.getBean(); // there must be a bean to call with, we currently does not support OGNL expressions on using purely static methods if (beanToCall == null) { throw new IllegalArgumentException("Bean instance is null. OGNL bean expressions requires bean instances."); }