synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Supun Kamburugamuva (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SYNAPSE-588) Extending property mediator to set properties based on regular expressions
Date Wed, 07 Oct 2009 03:57:31 GMT

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

Supun Kamburugamuva commented on SYNAPSE-588:
---------------------------------------------

Yes, I've thought about including this as an XPath function as well. But XPath is meant to
be working with XML, not strings. Also since strings have this nice regular expressions why
do we need to hide the straight forward functionality in an XPath function. Anyway it is the
user convenience that matters. I always prefer two or three logical ways of doing the same
thing. So we can implement this as an Xpath function as well.


  

> Extending property mediator to set properties based on regular expressions
> --------------------------------------------------------------------------
>
>                 Key: SYNAPSE-588
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-588
>             Project: Synapse
>          Issue Type: New Feature
>            Reporter: Supun Kamburugamuva
>         Attachments: SYNAPSE-588-DOC.patch, SYNAPSE-588.patch
>
>
> At the moment property mediator just set the value. This value can be direct as well
as coming from evaluating a xpath expression. If this value can be matched against a regular
expression and the matching string can be set as the value it will be more flexible.

-- 
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


Mime
View raw message