Simple language and OGNL does not support dots in key name
----------------------------------------------------------

                 Key: CAMEL-3802
                 URL: https://issues.apache.org/jira/browse/CAMEL-3802
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.6.0
            Reporter: Charles Moulliard
            Priority: Minor
             Fix For: 2.8.0


It is not possible in a simple expression to have access to a key of a Map when 
the key name contains dots

ex : 
<simple>${body[com.fusesource.webinars.persistence.model.Incident]}</simple>
where com.fusesource.webinars.persistence.model.Incident is the key name

Camel generates the error :

{code}
Caused by: org.apache.camel.component.bean.MethodNotFoundException: Method with 
name: [com not found on bean: 
[{com.fusesource.webinars.persistence.model.Incident=com.fusesource.webinars.persistence.model.Incident@7fec0e19[
{code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to