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

SimpleIllegalSyntaxException in nested expression

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.18.1
    • 2.18.2, 2.19.0
    • camel-core
    • None
    • Unknown
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: