Skip to content

Commit dd82158

Browse files
authored
Merge pull request #1336 from rabbitmq/backport-1332
Backport 1332 to 6.x
2 parents 4c91cae + c25833c commit dd82158

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

projects/Unit/APIApproval.Approve.verified.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ namespace RabbitMQ.Client
146146
public const int InternalError = 541;
147147
public const int InvalidPath = 402;
148148
public const int NoConsumers = 313;
149+
public const int NoRoute = 312;
149150
public const int NotAllowed = 530;
150151
public const int NotFound = 404;
151152
public const int NotImplemented = 540;

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3434
<constant name="frame-end" value="206"/>
3535
<constant name="reply-success" value="200"/>
3636
<constant name="content-too-large" value="311" class="soft-error"/>
37+
<constant name="no-route" value="312" class="soft-error"/>
3738
<constant name="no-consumers" value="313" class="soft-error"/>
3839
<constant name="connection-forced" value="320" class="hard-error"/>
3940
<constant name="invalid-path" value="402" class="hard-error"/>

projects/specs/amqp0-9-1.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,13 @@
187187
</doc>
188188
</constant>
189189

190+
<constant name = "no-route" value = "312" class = "soft-error">
191+
<doc>
192+
Returned when RabbitMQ sends back with 'basic.return' when a 'mandatory'
193+
message cannot be delivered to any queue.
194+
</doc>
195+
</constant>
196+
190197
<constant name = "no-consumers" value = "313" class = "soft-error">
191198
<doc>
192199
When the exchange cannot deliver to a consumer when the immediate flag is

0 commit comments

Comments
 (0)