returnExceptionFactory.Timeout(this,"The timeout was reached before the message could be written to the output buffer, and it was not sent",message,server,result,origin:caller);
returnExceptionFactory.Timeout(this,"The timeout was reached before the message could be written to the output buffer, and it was not sent",message,server,result);
caseWriteResult.WriteFailure:
caseWriteResult.WriteFailure:
default:
default:
returnExceptionFactory.ConnectionFailure(IncludeDetailInExceptions,ConnectionFailureType.ProtocolFailure,"An unknown error occurred when writing the message",server);
returnExceptionFactory.ConnectionFailure(IncludeDetailInExceptions,ConnectionFailureType.ProtocolFailure,"An unknown error occurred when writing the message",server);
if(message.QueuePosition>=0)add("QueuePosition",null,message.QueuePosition.ToString());// the position the item was when added to the queue
if(message.QueuePosition>=0)add("QueuePosition",null,message.QueuePosition.ToString());// the position the item was when added to the queue
if((int)message.ConnectionWriteState>=0)add("WriteState",null,message.ConnectionWriteState.ToString());// what the physical was doing when it was added to the queue
if((int)message.ConnectionWriteState>=0)add("WriteState",null,message.ConnectionWriteState.ToString());// what the physical was doing when it was added to the queue
Multiplexer?.OnInfoMessage($"reentrant call to WriteMessageTakingWriteLock for {message.CommandAndKey}, {existingMessage.CommandAndKey} is still active");
Multiplexer?.OnInfoMessage($"reentrant call to WriteMessageTakingWriteLock for {message.CommandAndKey}, {existingMessage.CommandAndKey} is still active");