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

Expression or predicates - allow to refer to external script on file/classpath

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.16.0
    • camel-core, eip
    • None
    • Unknown

    Description

      We should allow users to just type a file or classpath name as the value and Camel will load the resource from that.

      For example

          <route>
            <from uri="direct:start"/>
            <script>
              <simple>resource:classpath:org/apache/camel/spring/processor/mysimplescript.txt</simple>
            </script>
            <to uri="mock:result"/>
          </route>
      

      You may want to use a more powerful language like groovy.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: