Xid xidToResume; //todo should not rely on tube member vars, use context map instead
public void doHandleRequest(MessageHeaders headers, TransactionalAttribute tx) {
if (WSATHelper.isDebugEnabled())
debug("processRequest MessageHeaders:" + headers + " TransactionalAttribute:" + tx + " isEnabled:" + tx.isEnabled());
CoordinationContextBuilder ccBuilder = CoordinationContextBuilder.headers(headers, tx.getVersion());
if (ccBuilder != null) {
while(!WSATGatewayRM.isReadyForRuntime) {
debug("WS-AT recovery is enabled but WS-AT is not ready for runtime. Processing WS-AT recovery log files...");
WSATGatewayRM.getInstance().recover();
}