You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by Isuru Ranawaka <ir...@gmail.com> on 2013/05/19 05:20:52 UTC

Re: GSOC Project Proposal for XPath1.0 implementation On Top Of XML Stream

hi all,
In Synapse at the mediator level OMElements are being passed and can get
XMLStreamReader out of it.XMLStreamReader gives XMLEvents. In XPath
evaluation  some OMElements may not matched the query.some will be matched
the query. In case matching OMElements what we need to send to the output.
Is it whole OMElement that received for XPath evaluation or only the
OMElement build from the result of the query.


On Mon, Apr 29, 2013 at 11:19 AM, Amila Suriarachchi <
amilasuriarachchi@gmail.com> wrote:

> Filtering should be proceed at high rate and it can be done by this and
> result can be buffered and send to the endpoint.
>
> What we buffer here is the input stream and write it directly to output
> stream. Of course if we can stop building the whole Axiom object to
> evaluate Xpath that also gives some performance advantage as well.
>
> see the thread 'Improving Synapse CBR performance' for more information.
> Some things may not be clear for you since that require some internal
> knowledge of synapse.
>
> thanks,
> Amila.
>
>
> On Sun, Apr 21, 2013 at 8:38 PM, Isuru Ranawaka <ir...@gmail.com>wrote:
>
>> hi all,
>> This Proposal is for develop Xpath Engine On top Of XMLStream. Creating
>> Object Model out of  XML Stream and doing evaluation on top of it has
>> drawbacks such as consume more memory,consume whole XMLStream and
>> reduced evaluation speed. Since this uses streaming that problem is
>> addressed and Since Synapse is  Light weight ESB and uses CBR this will be
>> more use full.
>>
>>
>>
>> thanks
>> isuru
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
>> For additional commands, e-mail: dev-help@synapse.apache.org
>>
>
>
>
> --
> Amila Suriarachchi
> WSO2 Inc.
> blog: http://amilachinthaka.blogspot.com/
>