Exemplo n.º 1
0
 public LargeMessageStorageConfiguration WithMaxLargeMessageSize(int messageSize)
 {
     MaxLargeMessageSize = new MaxLargeMessageSizeSetting {
         Value = messageSize
     };
     return(this);
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
 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;
 }