Apache.NMS.ActiveMQ.Transactions.RecoveryLoggerHarness.LogRecoveryInfo C# (CSharp) Method

LogRecoveryInfo() public method

public LogRecoveryInfo ( XATransactionId xid, byte recoveryInformation ) : void
xid Apache.NMS.ActiveMQ.Commands.XATransactionId
recoveryInformation byte
return void
        public void LogRecoveryInfo(XATransactionId xid, byte[] recoveryInformation)
        {
            if (recoveryInformation == null || recoveryInformation.Length == 0)
            {
                return;
            }

            if (this.PreLogRecoveryInfoEvent != null)
            {
                this.PreLogRecoveryInfoEvent(xid, recoveryInformation);
            }

            this.containedLogger.LogRecoveryInfo(xid, recoveryInformation);

            if (this.PostLogRecoveryInfoEvent != null)
            {
                this.PostLogRecoveryInfoEvent(xid, recoveryInformation);
            }
        }