コード例 #1
0
 public static AbstractMessageBuilder SetContentEncoding(this AbstractMessageBuilder builder, string contentEncoding)
 {
     builder.SetHeader(RabbitMessageHeaders.CONTENT_ENCODING, contentEncoding);
     return(builder);
 }
コード例 #2
0
 public static AbstractMessageBuilder SetReplyToAddress(this AbstractMessageBuilder builder, Address replyTo)
 {
     builder.SetHeader(RabbitMessageHeaders.REPLY_TO, replyTo.ToString());
     return(builder);
 }
コード例 #3
0
 public static AbstractMessageBuilder SetContentType(this AbstractMessageBuilder builder, string contentType)
 {
     builder.SetHeader(RabbitMessageHeaders.CONTENT_TYPE, contentType);
     return(builder);
 }
コード例 #4
0
 public static AbstractMessageBuilder SetCorrelationId(this AbstractMessageBuilder builder, string correlationId)
 {
     builder.SetHeader(RabbitMessageHeaders.CORRELATION_ID, correlationId);
     return(builder);
 }
コード例 #5
0
 public static AbstractMessageBuilder SetReplyTo(this AbstractMessageBuilder builder, string replyTo)
 {
     builder.SetHeader(RabbitMessageHeaders.REPLY_TO, replyTo);
     return(builder);
 }
コード例 #6
0
 public static AbstractMessageBuilder SetExpiration(this AbstractMessageBuilder builder, string expiration)
 {
     builder.SetHeader(RabbitMessageHeaders.EXPIRATION, expiration);
     return(builder);
 }
コード例 #7
0
 public static AbstractMessageBuilder SetReceivedRoutingKey(this AbstractMessageBuilder builder, string receivedRoutingKey)
 {
     builder.SetHeader(RabbitMessageHeaders.RECEIVED_ROUTING_KEY, receivedRoutingKey);
     return(builder);
 }
コード例 #8
0
 public static AbstractMessageBuilder SetUserId(this AbstractMessageBuilder builder, string userId)
 {
     builder.SetHeader(RabbitMessageHeaders.USER_ID, userId);
     return(builder);
 }
コード例 #9
0
 public static AbstractMessageBuilder SetAppId(this AbstractMessageBuilder builder, string appId)
 {
     builder.SetHeader(RabbitMessageHeaders.APP_ID, appId);
     return(builder);
 }
コード例 #10
0
 public static AbstractMessageBuilder SetTimestamp(this AbstractMessageBuilder builder, long timestamp)
 {
     builder.SetHeader(Messaging.MessageHeaders.TIMESTAMP, timestamp);
     return(builder);
 }
コード例 #11
0
 public static AbstractMessageBuilder SetMessageId(this AbstractMessageBuilder builder, string messageId)
 {
     builder.SetHeader(Messaging.MessageHeaders.ID, messageId);
     return(builder);
 }
コード例 #12
0
 public static AbstractMessageBuilder SetMessageCount(this AbstractMessageBuilder builder, uint messageCount)
 {
     builder.SetHeader(RabbitMessageHeaders.MESSAGE_COUNT, messageCount);
     return(builder);
 }
コード例 #13
0
 public static AbstractMessageBuilder SetDeliveryTag(this AbstractMessageBuilder builder, ulong deliveryTag)
 {
     builder.SetHeader(RabbitMessageHeaders.DELIVERY_TAG, deliveryTag);
     return(builder);
 }
コード例 #14
0
 public static AbstractMessageBuilder SetRedelivered(this AbstractMessageBuilder builder, bool redelivered)
 {
     builder.SetHeader(RabbitMessageHeaders.REDELIVERED, redelivered);
     return(builder);
 }
コード例 #15
0
 public static AbstractMessageBuilder SetContentLength(this AbstractMessageBuilder builder, long contentLength)
 {
     builder.SetHeader(RabbitMessageHeaders.CONTENT_LENGTH, contentLength);
     return(builder);
 }
コード例 #16
0
 public static AbstractMessageBuilder SetClusterId(this AbstractMessageBuilder builder, string clusterId)
 {
     builder.SetHeader(RabbitMessageHeaders.CLUSTER_ID, clusterId);
     return(builder);
 }
コード例 #17
0
 public static AbstractMessageBuilder SetDeliveryMode(this AbstractMessageBuilder builder, MessageDeliveryMode deliveryMode)
 {
     builder.SetHeader(RabbitMessageHeaders.DELIVERY_MODE, deliveryMode);
     return(builder);
 }
コード例 #18
0
 public static AbstractMessageBuilder SetType(this AbstractMessageBuilder builder, string type)
 {
     builder.SetHeader(RabbitMessageHeaders.TYPE, type);
     return(builder);
 }
コード例 #19
0
 public static AbstractMessageBuilder SetPriority(this AbstractMessageBuilder builder, int priority)
 {
     builder.SetHeader(RabbitMessageHeaders.PRIORITY, priority);
     return(builder);
 }
コード例 #20
0
 public static AbstractMessageBuilder SetReceivedExchange(this AbstractMessageBuilder builder, string receivedExchange)
 {
     builder.SetHeader(RabbitMessageHeaders.RECEIVED_EXCHANGE, receivedExchange);
     return(builder);
 }