Issue Details (XML | Word | Printable)

Key: MULE-2713
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Travis Carlson
Reporter: Daniel Feist
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Mule

Implement a "scripting" component type and update example/test file to use it.

Created: 20/Nov/07 04:20 PM   Updated: 18/Jul/08 07:53 AM
Component/s: Modules: JSR-223 Scripting
Affects Version/s: 2.0.0-M2
Fix Version/s: 2.0.2

Time Tracking:
Not Specified

Issue Links:
Block
Duplicate
 
Related
 

Labels:
User impact: Low


 Description  « Hide
Currently we are doing the following:
<component>
    <pooled-object class="org.mule.components.script.jsr223.ScriptComponent">
        <properties>
            <spring:entry key="scriptEngineName" value="groovy"/>
            <spring:entry key="scriptText" value-ref="scriptText2"/>
        </properties>
    </pooled-object>
</component>

Given that we are using schema based configuration and that we have now introduced abstract components in mule core we should be doing something like the following:

<scripting:component engine="groovy" script="scriptText2"/>


 All   Comments   Work Log   Change History   Transitions   FishEye      Sort Order: Ascending order - Click to sort in descending order
Daniel Feist added a comment - 20/Nov/07 04:21 PM
This one should be quite quick, assigning to you to prioritise.

Andrew Perepelytsya added a comment - 21/Nov/07 08:50 AM
Dan, keep in mind the module has already got a schema leveraging refreshable spring beans.

Daniel Feist added a comment - 06/May/08 03:35 PM
I had thought about implementing script component bindings using expressions.

Travis Carlson added a comment - 08/May/08 08:26 AM
r11701

Daniel Feist added a comment - 08/May/08 09:42 AM
Shall we create a separate issue for implementing script component bindings, or do it here?