Skip to content

Commit 5b11703

Browse files
author
Emile Joubert
committed
Document features missing from 0-9-1
1 parent 2f3c310 commit 5b11703

File tree

2 files changed

+19
-8
lines changed

2 files changed

+19
-8
lines changed

projects/client/RabbitMQ.Client/src/client/api/IBasicProperties.cs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ public interface IBasicProperties : IContentHeader
101101
///<summary> creating application id </summary>
102102
string AppId { get; set; }
103103

104-
///<summary> intra-cluster routing identifier </summary>
104+
///<summary> intra-cluster routing identifier
105+
/// (cluster id is deprecated in AMQP 0-9-1)
106+
///</summary>
105107
string ClusterId { get; set; }
106108

107109
///<summary> Clear the ContentType property. </summary>
@@ -143,7 +145,9 @@ public interface IBasicProperties : IContentHeader
143145
///<summary> Clear the AppId property. </summary>
144146
void ClearAppId();
145147

146-
///<summary> Clear the ClusterId property. </summary>
148+
///<summary> Clear the ClusterId property.
149+
/// (cluster id is deprecated in AMQP 0-9-1)
150+
///</summary>
147151
void ClearClusterId();
148152

149153
///<summary> Returns true iff the ContentType property is present. </summary>
@@ -185,7 +189,9 @@ public interface IBasicProperties : IContentHeader
185189
///<summary> Returns true iff the AppId property is present. </summary>
186190
bool IsAppIdPresent();
187191

188-
///<summary> Returns true iff the ClusterId property is present. </summary>
192+
///<summary> Returns true iff the ClusterId property is present.
193+
/// (cluster id is deprecated in AMQP 0-9-1)
194+
///</summary>
189195
bool IsClusterIdPresent();
190196

191197
///<summary>Convenience property; parses ReplyTo property

projects/client/RabbitMQ.Client/src/client/api/IModel.cs

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,13 +141,15 @@ public interface IModel: IDisposable
141141
IBasicProperties CreateBasicProperties();
142142

143143
///<summary>Construct a completely empty content header for
144-
///use with the File content class.</summary>
144+
///use with the File content class.
145+
/// (unsupported in AMQP 0-9-1)</summary>
145146
[AmqpContentHeaderFactory("file")]
146147
[AmqpUnsupported("RabbitMQ.Client.Framing.v0_9_1")]
147148
IFileProperties CreateFileProperties();
148149

149150
///<summary>Construct a completely empty content header for
150-
///use with the Stream content class.</summary>
151+
///use with the Stream content class.
152+
/// (unsupported in AMQP 0-9-1)</summary>
151153
[AmqpContentHeaderFactory("stream")]
152154
[AmqpUnsupported("RabbitMQ.Client.Framing.v0_9_1")]
153155
IStreamProperties CreateStreamProperties();
@@ -441,11 +443,12 @@ BasicGetResult BasicGet(string queue,
441443
///transaction.</summary>
442444
void TxRollback();
443445

444-
///<summary>(Spec method) Enable DTX mode for this session.</summary>
446+
///<summary>(Spec method) Enable DTX mode for this session.
447+
/// (unsupported in AMQP 0-9-1)</summary>
445448
[AmqpUnsupported("RabbitMQ.Client.Framing.v0_9_1")]
446449
void DtxSelect();
447450

448-
///<summary>(Spec method)</summary>
451+
///<summary>(Spec method, unsupported in AMQP 0-9-1)</summary>
449452
[AmqpUnsupported("RabbitMQ.Client.Framing.v0_9_1")]
450453
void DtxStart(string dtxIdentifier);
451454

@@ -908,7 +911,9 @@ void _Private_ConnectionOpen(string virtualHost,
908911
void HandleConnectionOpenOk([AmqpFieldMapping("RabbitMQ.Client.Framing.v0_9_1", "reserved1")]
909912
string knownHosts);
910913

911-
///<summary>Handle an incoming Connection.Redirect.</summary>
914+
///<summary>Handle an incoming Connection.Redirect.
915+
/// (not available in AMQP 0-9-1)
916+
///</summary>
912917
[AmqpMethodDoNotImplement("RabbitMQ.Client.Framing.v0_9_1")]
913918
void HandleConnectionRedirect(string host,
914919
string knownHosts);

0 commit comments

Comments
 (0)