You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Soner Koksal (JIRA)" <ji...@apache.org> on 2019/07/15 08:04:00 UTC

[jira] [Created] (CAMEL-13749) Extend SpEL evaluation context with MapAccessor

Soner Koksal created CAMEL-13749:
------------------------------------

             Summary: Extend SpEL evaluation context with MapAccessor
                 Key: CAMEL-13749
                 URL: https://issues.apache.org/jira/browse/CAMEL-13749
             Project: Camel
          Issue Type: Improvement
          Components: camel-spring
            Reporter: Soner Koksal


Add MapAccessor to SpEL evaluation context as it would be more convenient to access to Map types such as {{properties}}:

{code:xml}
...
<spel>#{properties.foo == 'bar'}</spel>
...
{code}

rather than

{code:xml}
...
<spel>#{properties['foo'] == 'bar'}</spel>
...
{code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)