Class RabbitDeliveryTag
Represents the unique message identifier assigned by the message broker.
Inheritance
System.Object
RabbitDeliveryTag
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Silverback.Messaging.Broker
Assembly: Silverback.Integration.RabbitMQ.dll
Syntax
public sealed class RabbitDeliveryTag : IBrokerMessageIdentifier, IEquatable<IBrokerMessageIdentifier>
Constructors
| Improve this doc View sourceRabbitDeliveryTag(String, String)
Initializes a new instance of the RabbitDeliveryTag class.
Declaration
public RabbitDeliveryTag(string key, string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The unique key of the queue, topic or partition the message was produced to or consumed from. |
System.String | value | The identifier value. |
RabbitDeliveryTag(String, UInt64)
Initializes a new instance of the RabbitDeliveryTag class.
Declaration
public RabbitDeliveryTag(string consumerTag, ulong deliveryTag)
Parameters
Type | Name | Description |
---|---|---|
System.String | consumerTag | The consumer identifier. |
System.UInt64 | deliveryTag | The delivery (message) identifier. |
Properties
| Improve this doc View sourceConsumerTag
Gets the consumer identifier.
Declaration
public string ConsumerTag { get; }
Property Value
Type | Description |
---|---|
System.String |
DeliveryTag
Gets the delivery (message) identifier.
Declaration
public ulong DeliveryTag { get; }
Property Value
Type | Description |
---|---|
System.UInt64 |
Key
Declaration
public string Key { get; }
Property Value
Type | Description |
---|---|
System.String |
Value
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this doc View sourceEquals(IBrokerMessageIdentifier)
Declaration
public bool Equals(IBrokerMessageIdentifier other)
Parameters
Type | Name | Description |
---|---|---|
IBrokerMessageIdentifier | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
|
Improve this doc
View source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
|
Improve this doc
View source
ToLogString()
Declaration
public string ToLogString()
Returns
Type | Description |
---|---|
System.String |
ToVerboseLogString()
Declaration
public string ToVerboseLogString()
Returns
Type | Description |
---|---|
System.String |
Implements
System.IEquatable<T>