CommitTransaction() protected method

protected CommitTransaction ( int commitId ) : void
commitId int
return void
Beispiel #1
0
            private IMessageEnvelope ProcessCommit(IDictionary <string, object> metadata, CommitRequest request)
            {
                try {
                    connector.AssertNotDisposed();
                    connector.AssertAuthenticated();

                    connector.CommitTransaction(request.TransactionId);
                    return(connector.CreateEnvelope(metadata, new AcknowledgeResponse(true)));
                } catch (Exception ex) {
                    // TODO: Log the error ...
                    return(CreateErrorResponse(metadata, ex));
                }
            }