[ https://issues.apache.org/jira/browse/SYNAPSE-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12576606#action_12576606 ]
Ruwan Linton commented on SYNAPSE-234: -------------------------------------- In order to support this requirement, I would like to suggest the following configuration for the Filter mediator <filter (source="xpath" regex="string") | xpath="xpath"> <onSuccess [sequence="string"]> mediator+ </onSuccess> <onFail [sequence="string"]> mediator+ </onFail> </filter> but this will lead to a compatibility issue, the only way that we can solve the issue without breaking the compatibility is by disabling the else sequence inline specification. That will lead to the following configuration, I would prefer the former though, this will not break the compatibility; and the onFial sequence is always a referred sequence. <filter (source="xpath" regex="string") | xpath="xpath" [onFial="string"]> mediator+ </filter> WDYT? Thanks, Ruwan > Support for an ELSE for the Filter (IF) mediator > ------------------------------------------------ > > Key: SYNAPSE-234 > URL: https://issues.apache.org/jira/browse/SYNAPSE-234 > Project: Synapse > Issue Type: Improvement > Reporter: Asankha C. Perera > Assignee: Ruwan Linton > > Would be better to be able to specify what needs to be done if a filter > condition evaluates to false -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]