synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Supun Kamburugamuva <supu...@gmail.com>
Subject Re: Extending the Synapse Evaluator Framework
Date Mon, 06 Sep 2010 12:16:47 GMT
How about abstracting out the EvaluatorContext. Then we can have two
implementations at transport level and synapse level.

Thanks,
Supun..

On Mon, Sep 6, 2010 at 10:25 AM, Hiranya Jayathilaka
<hiranya911@gmail.com>wrote:

> Hi Folks,
>
> Currently our evaluator framework can only evaluate followings:
>
> 1. URLs and URL fragments
> 2. Query parameters
> 3. Transport headers
>
> I think it would be great if we can extend the framework to support
> evaluating of message context properties and SOAP envelope content.
> The easiest way to implement this is perhaps to include the Synapse
> message context in the Evaluator context. That will enable plenty of
> room for any future extensions as well. But since the evaluator
> framework resides in the commons module we cannot take any
> dependencies on the Synapse core.
>
> So it seems the only way to support this requirement is by adding a
> properties map and a reference to the SOAPEnvelope in the
> EvaluatorContext. Unfortunately, from a design perspective this is not
> a very solution. So WDYT?
>
> Thanks
> --
> Hiranya Jayathilaka
> Senior Software Engineer;
> WSO2 Inc.;  http://wso2.org
> E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
> Blog: http://techfeast-hiranya.blogspot.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> For additional commands, e-mail: dev-help@synapse.apache.org
>
>


-- 
Tech Lead, WSO2 Inc
http://wso2.org
supunk.blogspot.com

Mime
View raw message