You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/07/11 11:13:04 UTC
[jira] [Created] (CAMEL-8952) Expression or predicates - allow to
refer to external script on file/classpath
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)