Claus Ibsen created CAMEL-9653:
----------------------------------

             Summary: Bean language - Add support for calling purely static 
methods
                 Key: CAMEL-9653
                 URL: https://issues.apache.org/jira/browse/CAMEL-9653
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen


See nabble
http://camel.465427.n5.nabble.com/Bean-instance-is-null-OGNL-bean-expressions-requires-bean-instances-tp5778338.html

In the code we say
{code}
            // 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.");
            }
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to