コード例 #1
0
 internal BasicSubscription(String id, String contentMatcher, String durable, Hashtable props, ISubscriptionListener listener)
 {
     this.id             = id;
     this.contentMatcher = contentMatcher;
     this.listener       = listener;
     this.durable        = durable;
     this.props          = props;
     this.ackMode        = getAckMode(props);
     this.pending        = true;
 }
コード例 #2
0
 public ShovelRequestParams(
     AckMode acknowledgeMode,
     int reconnectDelay,
     ShovelProtocolType sourceProtocol,
     string sourceUri,
     string sourceQueue,
     string sourceExchange,
     string sourceExchangeRoutingKey,
     ulong sourcePrefetchCount,
     object sourceDeleteAfter,
     ShovelProtocolType destinationProtocol,
     string destinationUri,
     string destinationExchange,
     string destinationExchangeRoutingKey,
     string destinationQueue,
     bool destinationAddForwardHeaders,
     bool destinationAddTimestampHeader)
 {
     SourceProtocol                = sourceProtocol;
     SourceUri                     = sourceUri;
     SourceQueue                   = sourceQueue;
     DestinationProtocol           = destinationProtocol;
     DestinationUri                = destinationUri;
     DestinationQueue              = destinationQueue;
     ReconnectDelay                = reconnectDelay;
     AcknowledgeMode               = acknowledgeMode;
     SourceDeleteAfter             = sourceDeleteAfter;
     SourcePrefetchCount           = sourcePrefetchCount;
     SourceExchange                = sourceExchange;
     SourceExchangeRoutingKey      = sourceExchangeRoutingKey;
     DestinationExchange           = destinationExchange;
     DestinationExchangeRoutingKey = destinationExchangeRoutingKey;
     // DestinationPublishProperties = destinationPublishProperties;
     DestinationAddForwardHeaders  = destinationAddForwardHeaders;
     DestinationAddTimestampHeader = destinationAddTimestampHeader;
 }
コード例 #3
0
 public void AcknowledgementMode(AckMode mode) => _acknowledgeMode = mode;
コード例 #4
0
 public OptionsDescriptor AckMode(AckMode ackMode)
 {
     configuration.AckMode = ackMode;
     return this;
 }
コード例 #5
0
ファイル: OptionsDescriptor.cs プロジェクト: simoneb/Roger
 public OptionsDescriptor AckMode(AckMode ackMode)
 {
     configuration.AckMode = ackMode;
     return(this);
 }