Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-3051

Scripting support should auto-detect language by file extension

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 3.0 M3
    • Component/s: Scripting Support
    • Labels:
      None

      Description

      Would be nice if the "lang" attribute of <int-script> was optional and a best guess was made based on extension of the file when location is specified (not sure what you would do about inline script).

      It might also be nice to support usage of a property placeholder or SpEL for the "lang" attribute.

        Attachments

          Activity

            People

            • Assignee:
              dturanski David Turanski
              Reporter:
              jencompgeek Jennifer Hickey
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: