You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Charles Moulliard (JIRA)" <ji...@apache.org> on 2011/03/25 09:05:05 UTC

[jira] [Resolved] (CAMEL-3802) Simple language and OGNL does not support dots in key name

     [ https://issues.apache.org/jira/browse/CAMEL-3802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles Moulliard resolved CAMEL-3802.
--------------------------------------

    Resolution: Fixed

> 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
>            Assignee: 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