You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Ruwan Linton (JIRA)" <ji...@apache.org> on 2008/03/10 11:05:46 UTC

[jira] Resolved: (SYNAPSE-234) Support for an ELSE for the Filter (IF) mediator

     [ https://issues.apache.org/jira/browse/SYNAPSE-234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruwan Linton resolved SYNAPSE-234.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2

Fixed in the SVN trunk. Now you can specify the else path in the filter mediator using the <then> and the <else> elements as follows;

<filter (source="xpath" regex="string") | xpath="xpath">
  <then [sequence="string"]>
    mediator+
  </then>
  <else [sequence="string"]>
    mediator+
  </else>
</filter>

Most importantly, this does not break the earlier configuration but if you need to use the ELSE behavior you will need to use the above configuration.

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
>             Fix For: 1.2
>
>
> 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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org