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

SimpleIllegalSyntaxException in nested expression

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.18.1
    • Fix Version/s: 2.18.2, 2.19.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown
    • Regression:
      Regression

      Description

      The following nested simple expression works in Camel 2.16.3:

      <log message="TX name: '${exchangeProperty.${type:ch.my.package.StringConstants.EXCHANGE_PROP_TX_SUMMARY}.transactionName}'" loggingLevel="INFO" logName="pep-xds_b-registry_oncompletion_common" />
      

      but fails with a SimpleIllegalSyntaxException in Camel 2.18.1:

      Exception: org.apache.camel.language.simple.types.SimpleIllegalSyntaxException: expected symbol functionEnd but was eol at location 8
      ${type:ch
              *
      
      

      Both simple expressions work when invoked in a non-nested fashion.

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              ralfsteppacher Ralf Steppacher
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: