synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruwan Linton (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (SYNAPSE-234) Support for an ELSE for the Filter (IF) mediator
Date Mon, 10 Mar 2008 10:05:46 GMT

     [ 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


Mime
View raw message