Hello,

Running Camel 2.16.1, I am trying to invoke a static method as follows:

<setHeader headerName="SCMS_MATCH_FILE_NAME">
        <method 
                        beanType="org.apache.camel.util.StringHelper"
                        
method="removeLeadingAndEndingQuotes(${header.If-None-Match})"
         />
</setHeader>


However I get an exception with this message:

Bean instance is null. OGNL bean expressions requires bean instances.

Any idea why?

Thanks and best regards,
Alex soto



Reply via email to