Uploaded image for project: 'FUSE Mediation Router'
  1. FUSE Mediation Router
  2. MR-542

Add support for loading script from file/classpath in the language component in camel-core

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Minor
    • 2.9.0-fuse-00-00
    • 2.8.0-fuse-01-06
    • None
    • None

    Description

      See forum
      http://fusesource.com/forums/thread.jspa?messageID=12388&#12388

      We should add support so people can specify

      language:groovy:classpath:com/mycompany/mygroovy.groovy
      

      As well as use file paths

      language:groovy:file:etc/mygroovy.groovy
      

      eg file: and classpath: is prefixes for loading resources.

      Likewise the header (CamelLanguageScript) should support this as well

      Attachments

        Activity

          People

            cibsen@redhat.com Claus Ibsen
            cibsen@redhat.com Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: