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.