--- dao/DaoMqPump2/DaoMqPump2/Transport.cs 2013/08/26 10:40:26 2054 +++ dao/DaoMqPump2/DaoMqPump2/Transport.cs 2013/08/27 06:28:44 2055 @@ -328,6 +328,19 @@ } catch (Exception e) { + //Det vil være mest korrekt at Rollback/backout MQ Transaktionen her - for at være sikker på at Message'n fjernes fra køen + try + { + if (mqMgr != null) + { + mqMgr.Backout(); + } + } + catch (Exception e2) + { + this.addLogEntry("Error backing out from MQ Transaction: " + e2.Message); + } + statusData.lastrunOk = false; statusData.lastErrorMessage = name + ".transportMq2Sql error: " + e.GetType().FullName + " " + e.Message;