コード例 #1
0
 public LargeMessageStorageConfiguration WithMaxLargeMessageSize(int messageSize)
 {
     MaxLargeMessageSize = new MaxLargeMessageSizeSetting {
         Value = messageSize
     };
     return(this);
 }
コード例 #2
0
 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;
 }
コード例 #3
0
 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;
 }
コード例 #4
0
 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;
 }
コード例 #5
0
 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;
 }