Class Envelope
Encapsulates a group of parameters used for AMQP's Basic methods
Inherited Members
Namespace: Akka.Streams.Amqp.RabbitMq
Assembly: Akka.Streams.Amqp.RabbitMq.dll
Syntax
public sealed class Envelope
Properties
| Improve this Doc View SourceDeliveryTag
Get the delivery tag included in this parameter envelope
Declaration
public ulong DeliveryTag { get; }
Property Value
Type | Description |
---|---|
UInt64 |
Exchange
Get the name of the exchange included in this parameter envelope
Declaration
public string Exchange { get; }
Property Value
Type | Description |
---|---|
String |
Redeliver
Get the redelivery flag included in this parameter envelope. This is a hint as to whether this message may have been delivered before (but not acknowledged). If the flag is not set, the message definitely has not been delivered before. If it is set, it may have been delivered before.
Declaration
public bool Redeliver { get; }
Property Value
Type | Description |
---|---|
Boolean |
RoutingKey
Get the routing key included in this parameter envelope
Declaration
public string RoutingKey { get; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceCreate(UInt64, Boolean, String, String)
Construct an Envelope with the specified construction parameters
Declaration
public static Envelope Create(ulong deliveryTag, bool redeliver, string exchange, string routingKey)
Parameters
Type | Name | Description |
---|---|---|
UInt64 | deliveryTag | the delivery tag |
Boolean | redeliver | true if this is a redelivery following a failed ack |
String | exchange | the exchange used for the current operation |
String | routingKey | the associated routing key |
Returns
Type | Description |
---|---|
Envelope | Envelope with the specified construction parameters |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |