Skip to content

Commit 60e870a

Browse files
author
Alexandru Scvortov
committed
un-deprecate exchange.declare{internal} in XMLs and fix field mappings
1 parent 76ed602 commit 60e870a

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

docs/specs/amqp0-9-1.stripped.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
219219
<field name="passive" domain="bit"/>
220220
<field name="durable" domain="bit"/>
221221
<field name="auto-delete" domain="bit"/>
222-
<field name="reserved-3" type="bit" reserved="1"/>
222+
<field name="internal" domain="bit"/>
223223
<field name="no-wait" domain="no-wait"/>
224224
<field name="arguments" domain="table"/>
225225
</method>

docs/specs/amqp0-9-1.xml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
basic.nack,
1010
the ability for the Server to send basic.ack, basic.nack and
1111
basic.cancel to the client, and
12-
the un-deprecation of exchange.declare{auto-delete}
12+
the un-deprecation of exchange.declare{auto-delete} and exchange.declare{internal}
1313
-->
1414

1515
<!--
@@ -1291,9 +1291,15 @@
12911291
</rule>
12921292
</field>
12931293

1294-
<field name = "reserved-2" type = "bit" reserved = "1" />
1295-
<!-- Deprecated: "internal", must be zero -->
1296-
<field name = "reserved-3" type = "bit" reserved = "1" />
1294+
<field name = "internal" domain = "bit" label = "create internal exchange">
1295+
<doc>
1296+
If set, the exchange may not be used directly by publishers,
1297+
but only when bound to other exchanges. Internal exchanges
1298+
are used to construct wiring that is not visible to
1299+
applications.
1300+
</doc>
1301+
</field>
1302+
12971303
<field name = "no-wait" domain = "no-wait" />
12981304

12991305
<field name = "arguments" domain = "table" label = "arguments for declaration">

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,6 @@ void _Private_ExchangeDeclare(string exchange,
618618
bool passive,
619619
bool durable,
620620
bool autoDelete,
621-
[AmqpFieldMapping("RabbitMQ.Client.Framing.v0_9_1", "reserved3")]
622621
bool @internal,
623622
[AmqpNowaitArgument(null)]
624623
bool nowait,

0 commit comments

Comments
 (0)