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 14:59:04 UTC
[jira] [Resolved] (CAMEL-8952) Expression or predicates - allow to
refer to external script on file/classpath
[ https://issues.apache.org/jira/browse/CAMEL-8952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-8952.
--------------------------------
Resolution: Fixed
> 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>resource: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)