Upul

This looks like a useful enhancement - esp for Javascript and other scripting languages and to reuse common scripts. Once Ruwan gives the go ahead I would like to see this code go into Synapse. Also make sure to have unit tests that validates this

thanks
asankha

Upul Godage (JIRA) wrote:
[ https://issues.apache.org/jira/browse/SYNAPSE-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12525078 ]
Upul Godage commented on SYNAPSE-126:
-------------------------------------

<include /> only used for external scripts. That is when <script key="..." > is used. New syntax after this change,

        <script language="js" key="script/stockquoteTransform.js" 
function="transformRequest">
                <include key="script/testInclude.js" />
                <include key="script/testInclude2.js" />                
        </script>

Including multipe script files in ScriptMediator
------------------------------------------------

                Key: SYNAPSE-126
                URL: https://issues.apache.org/jira/browse/SYNAPSE-126
            Project: Synapse
         Issue Type: Improvement
         Components: Extension Mediators
           Reporter: Upul Godage
           Priority: Minor
        Attachments: patch-SYNAPSE-126.txt


Present implementation does not support including multiple script files in 
ScriptMediator.

Reply via email to