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 <
[email protected]> 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 <[email protected]>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: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
>
>
> --
> Amila Suriarachchi
> WSO2 Inc.
> blog: http://amilachinthaka.blogspot.com/
>

Reply via email to