public LargeMessageStorageConfiguration WithMaxLargeMessageSize(int messageSize) { MaxLargeMessageSize = new MaxLargeMessageSizeSetting { Value = messageSize }; return(this); }
public BrokeredMessageFactory(MaxLargeMessageSizeSetting maxLargeMessageSize, MaxSmallMessageSizeSetting maxSmallMessageSize, IClock clock, ICompressor compressor, IDispatchContextManager dispatchContextManager, ILargeMessageBodyStore largeMessageBodyStore, ISerializer serializer, ITypeProvider typeProvider) { _serializer = serializer; _maxLargeMessageSize = maxLargeMessageSize; _maxSmallMessageSize = maxSmallMessageSize; _compressor = compressor; _dispatchContextManager = dispatchContextManager; _largeMessageBodyStore = largeMessageBodyStore; _typeProvider = typeProvider; _clock = clock; }
public BrokeredMessageFactory(DefaultMessageTimeToLiveSetting timeToLive, MaxLargeMessageSizeSetting maxLargeMessageSize, MaxSmallMessageSizeSetting maxSmallMessageSize, ReplyQueueNameSetting replyQueueName, IClock clock, ICompressor compressor, IDispatchContextManager dispatchContextManager, ILargeMessageBodyStore largeMessageBodyStore, ISerializer serializer, ITypeProvider typeProvider) { _timeToLive = timeToLive; _maxLargeMessageSize = maxLargeMessageSize; _maxSmallMessageSize = maxSmallMessageSize; _replyQueueName = replyQueueName; _clock = clock; _compressor = compressor; _dispatchContextManager = dispatchContextManager; _largeMessageBodyStore = largeMessageBodyStore; _serializer = serializer; _typeProvider = typeProvider; }