Venu wrote:
> Paul Sandoz wrote:
>> Hi,
>>
>> This recycling is related to the same issue for the FI StAX parsers.
>>
>> I have not looked deeply at the code but it looks like the right place
>> to support the recycling of XML *and* FI XMLStreamReader instances.
>>
>> I am wondering if it is possible to also recycle stream buffers i.e.
>> when the message is no longer used.
> when would one know it is time to recycle stream buffers.
> In cases where message is converted to JAXB/DOM before handing it over
> to user application, it might be easier for JAXWS Message to release
> the buffers.
>
Yes, by JAX-WS. More specifically a component in the pipe line or fiber
that is the inflexion or terminating component. Potentially the release
of cached SOAP header blocks may be treated differently from cached
content of a SOAP body.
Paul.
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109