Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-19055

Regression: SimpleIllegalSyntaxException in nested expression

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Major
    • None
    • fuse-7.9-GA
    • Camel
    • None
    • False
    • None
    • False
    • % %
    • Todo
    • Hide

      If possible, replace the nested expression with a constant

      Show
      If possible, replace the nested expression with a constant

    Description

      We are seeing a SimpleIllegalSyntaxException when we attempt to retrieve a header using a nested bean call, like so:

      simple{${header.${bean:headerNames.getMyHeaderName}} == null}
      

      This looks like a regression of https://issues.apache.org/jira/browse/CAMEL-10664 - fixed in Camel 2.18.2.

      The error message reads:

      org.apache.camel.language.simple.types.SimpleIllegalSyntaxException: expected symbol functionEnd but was eol at location 16 ${bean:headerKeys
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-support-dhawkins Duane Hawkins
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: