camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-8952) Expression or predicates - allow to refer to external script on file/classpath
Date Sat, 11 Jul 2015 09:13:04 GMT
Claus Ibsen created CAMEL-8952:
----------------------------------

             Summary: Expression or predicates - allow to refer to external script on file/classpath
                 Key: CAMEL-8952
                 URL: https://issues.apache.org/jira/browse/CAMEL-8952
             Project: Camel
          Issue Type: New Feature
          Components: camel-core, eip
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.16.0


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
{code}
    <route>
      <from uri="direct:start"/>
      <script>
        <simple>classpath:org/apache/camel/spring/processor/mysimplescript.txt</simple>
      </script>
      <to uri="mock:result"/>
    </route>
{code}

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message