code: private void resetXAResourceTimeout()
     {
        // Do a reset of the underlying XAResource timeout
        if (!(xaResource instanceof LocalXAResource) && xaResourceTimeout > 0)
        {
           try
           {
              xaResource.setTransactionTimeout(xaResourceTimeout);
           }
           catch (XAException e)
           {
              log.debugf(e, "Exception during resetXAResourceTimeout for %s", this);
           }
        }
     }
docs: Reset XAResource timeout