On 01/17/2013 03:55 AM, Sivakumar Thyagarajan wrote:
> Hi Fred
>
> On Tuesday 15 January 2013 06:50 PM, frowe_at_us.ibm.com wrote:
>> When performing recovery and processing inbound messages, we get an
>> XAResource from the resource adapter by invoking the method
>> getXAResources(ActivationSpec[] specs). For those returned XAResource
>> objects, what is the expected means to destroy them since there is no
>> API method to do so?
>
> I assume the point here being that there is an implicit
> Connection leak (a Connection to the EIS that was backed by the
> XAResource and was used for recovery) as there is no indication
> to the RA to close the XA resource (and the underlying connection).
>
The rumor is that recovery will be discussed as part of JTA 1.2 for EE 8.
I want to discuss this subject too as part of that work, hence I have a
TODO for our next spec with "Recovery lifecycle notifications".
As Fred points out - we can do a lot better in aligning.
Best regards,
Jesper