You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Udayanga Wickramasinghe (JIRA)" <ji...@apache.org> on 2012/08/15 12:04:38 UTC

[jira] [Commented] (SYNAPSE-884) Enable optional/default values in call-template mediator

    [ https://issues.apache.org/jira/browse/SYNAPSE-884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13434924#comment-13434924 ] 

Udayanga Wickramasinghe commented on SYNAPSE-884:
-------------------------------------------------

committed in rev 1373302.Thanx Malith for your contribution..
                
> Enable optional/default values in call-template mediator
> --------------------------------------------------------
>
>                 Key: SYNAPSE-884
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-884
>             Project: Synapse
>          Issue Type: Task
>            Reporter: Udayanga Wickramasinghe
>         Attachments: SYNAPSE-884.patch
>
>
> It would be useful to have optional/default parameters in Call template mediator.. For example callers of a template might not need to pass in parameter values every time. We should be able to assign optional=true in template paramters and invoke accordingly..
> ie:-
> <template xmlns="http://ws.apache.org/ns/synapse" name="iter_func">
>         <parameter name="iter_expr"/>
>         <parameter name="attach_path" optional="true"/>
>         <sequence>
>             ......
> </template>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org