/// <summary> /// Sets the queue overflow behaviour. This determines what happens to messages when the maximum length of a /// queue is reached. Valid values are drop-head, reject-publish or reject-publish-dlx. The quorum queue type only supports drop-head. /// </summary> /// <returns></returns> public CreateQueueOptionsBuilder WithOverflowBehaviour(OverflowBehaviour overflowBehaviour) { if (_queueType == QueueType.Quorum && overflowBehaviour != OverflowBehaviour.DropHead) { throw new InvalidBuilderOptionsException("The quorum queue type only supports drop-head."); } _overflowBehaviour = overflowBehaviour; return(this); }
public RecordAttribute() { mColumnMapping = FieldMapping.PrivateFields | FieldMapping.PublicFields; mOverflowBehaviour = OverflowBehaviour.ThrowError; }
public RecordAttribute() { mColumnMapping = FieldMapping.PrivateFields | FieldMapping.PublicFields; mOverflowBehaviour = OverflowBehaviour.ThrowError; }