Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13749

Extend SpEL evaluation context with MapAccessor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0.RC1, 3.0.0
    • camel-spring
    • None
    • Unknown

    Description

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

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

      rather than

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

      Attachments

        Activity

          People

            acosentino Andrea Cosentino
            renjfk Soner Koksal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h