camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Moulliard (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-3802) Simple language and OGNL does not support dots in key name
Date Fri, 25 Mar 2011 08:05:05 GMT

     [ 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

Mime
View raw message