You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "indika priyantha kumara (JIRA)" <ji...@apache.org> on 2009/11/07 15:29:32 UTC

[jira] Commented: (SYNAPSE-591) Adding a new mediator to extract string from properties using regular expressions

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

indika priyantha kumara commented on SYNAPSE-591:
-------------------------------------------------

Supun... What is the patch to use?  SYNAPSE-588 or this one.  And any reasons for the selection. 

It is widely acknowledged that the responsibility driven design and the separation of the orthogonal functionality as good design principles. You can easily see these things if you look at the public and highly used API of popular languages such as Java, C#. A simple example is reader/ writer ... When applying these things to the property mediator, I feel the separation of set property, and remove property mediator may be good at least from the design perspective.   

However, in your mediator, it only does the filtering out of the value to be set.  In other word, it enhances the set functionality. So ... What is the suitable approach?  


> Adding a new mediator to extract string from properties using regular expressions
> ---------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-591
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-591
>             Project: Synapse
>          Issue Type: Improvement
>            Reporter: Supun Kamburugamuva
>         Attachments: SYNAPSE-591.patch
>
>
> It will be really useful if we can extract strings from properties based on regular expressions and apply them to another property.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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