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

FileLanguage - to support constant expressions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 1.5.0
    • camel-core
    • None

    Description

      Currently the simple language does not support constant expressions, that actually is useable in the file component that uses simple language to set file names

      So if an end-user want to produce a file with a fixed name, then its not possible

      expression=MyBigFile.txt 
      

      Is not possible.

      But this is:

      expression=MyBigFile-${header.foo}.txt 
      

      is as there is a ${} placeholder and then the simple language can evaluate it.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: