diff --git a/projects/client/RabbitMQ.Client/src/client/api/IBasicProperties.cs b/projects/client/RabbitMQ.Client/src/client/api/IBasicProperties.cs index 054ed3f7e5..6ebed5d3fa 100644 --- a/projects/client/RabbitMQ.Client/src/client/api/IBasicProperties.cs +++ b/projects/client/RabbitMQ.Client/src/client/api/IBasicProperties.cs @@ -101,7 +101,9 @@ public interface IBasicProperties : IContentHeader /// creating application id string AppId { get; set; } - /// intra-cluster routing identifier + /// intra-cluster routing identifier + /// (cluster id is deprecated in AMQP 0-9-1) + /// string ClusterId { get; set; } /// Clear the ContentType property. @@ -143,7 +145,9 @@ public interface IBasicProperties : IContentHeader /// Clear the AppId property. void ClearAppId(); - /// Clear the ClusterId property. + /// Clear the ClusterId property. + /// (cluster id is deprecated in AMQP 0-9-1) + /// void ClearClusterId(); /// Returns true iff the ContentType property is present. @@ -185,7 +189,9 @@ public interface IBasicProperties : IContentHeader /// Returns true iff the AppId property is present. bool IsAppIdPresent(); - /// Returns true iff the ClusterId property is present. + /// Returns true iff the ClusterId property is present. + /// (cluster id is deprecated in AMQP 0-9-1) + /// bool IsClusterIdPresent(); ///Convenience property; parses ReplyTo property diff --git a/projects/client/RabbitMQ.Client/src/client/api/IModel.cs b/projects/client/RabbitMQ.Client/src/client/api/IModel.cs index cc149afcbe..a9af1b95ad 100644 --- a/projects/client/RabbitMQ.Client/src/client/api/IModel.cs +++ b/projects/client/RabbitMQ.Client/src/client/api/IModel.cs @@ -141,13 +141,15 @@ public interface IModel: IDisposable IBasicProperties CreateBasicProperties(); ///Construct a completely empty content header for - ///use with the File content class. + ///use with the File content class. + /// (unsupported in AMQP 0-9-1) [AmqpContentHeaderFactory("file")] [AmqpUnsupported("RabbitMQ.Client.Framing.v0_9_1")] IFileProperties CreateFileProperties(); ///Construct a completely empty content header for - ///use with the Stream content class. + ///use with the Stream content class. + /// (unsupported in AMQP 0-9-1) [AmqpContentHeaderFactory("stream")] [AmqpUnsupported("RabbitMQ.Client.Framing.v0_9_1")] IStreamProperties CreateStreamProperties(); @@ -441,11 +443,12 @@ BasicGetResult BasicGet(string queue, ///transaction. void TxRollback(); - ///(Spec method) Enable DTX mode for this session. + ///(Spec method) Enable DTX mode for this session. + /// (unsupported in AMQP 0-9-1) [AmqpUnsupported("RabbitMQ.Client.Framing.v0_9_1")] void DtxSelect(); - ///(Spec method) + ///(Spec method, unsupported in AMQP 0-9-1) [AmqpUnsupported("RabbitMQ.Client.Framing.v0_9_1")] void DtxStart(string dtxIdentifier); @@ -908,7 +911,9 @@ void _Private_ConnectionOpen(string virtualHost, void HandleConnectionOpenOk([AmqpFieldMapping("RabbitMQ.Client.Framing.v0_9_1", "reserved1")] string knownHosts); - ///Handle an incoming Connection.Redirect. + ///Handle an incoming Connection.Redirect. + /// (not available in AMQP 0-9-1) + /// [AmqpMethodDoNotImplement("RabbitMQ.Client.Framing.v0_9_1")] void HandleConnectionRedirect(string host, string knownHosts);