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] Commented: (SYNAPSE-234) Support for an ELSE for the Filter (IF) mediator
Date Mon, 10 Mar 2008 05:17:46 GMT

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

Ruwan Linton commented on SYNAPSE-234:
--------------------------------------

I think I found a better solution to support this keeping the backward compatibility.

the filter syntax which is there currently will behave as it is where as if you want to use
the else behavior for the filter then the configuration should be as follows;

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

I think this will solve the backward compatibility issue as well as supporting the else behavior.

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


Mime
View raw message