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

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

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.16.0
    • Component/s: camel-core, eip
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: