Page MenuHomeDevCentral

Declare notification exchange as durable
ClosedPublic

Authored by dereckson on Mar 12 2016, 05:20.
Tags
None
Referenced Files
F55960935: D335.id.diff
Sun, Nov 1, 19:09
F55929178: D335.id796.diff
Sun, Nov 1, 14:14
Unknown Object (File)
Sat, Oct 31, 03:07
Unknown Object (File)
Fri, Oct 30, 22:54
Unknown Object (File)
Mon, Oct 19, 06:23
Unknown Object (File)
Sat, Oct 17, 21:41
Unknown Object (File)
Tue, Oct 13, 08:17
Unknown Object (File)
Tue, Oct 13, 06:58
Subscribers
None

Details

Summary

When the notifications exchange is created on RabbitMQ by our container
setup script, it receives a Durable: true feature. We mirror this
behavior when we declare the exchange.

This fixes the following issue:

Channel error: (406, "PRECONDITION_FAILED - inequivalent arg 'durable'
for exchange 'notifications' in vhost 'dev': received 'false'
but current is 'true'")

Test Plan

Run the client, check we're well connected to the broker

Diff Detail

Repository
rNOTIFCLI Notifications center CLI client
Lint
Lint Passed
Unit
No Test Coverage
Branch
fix/declare-exchange-as-durable
Build Status
Buildable 442
Build 553: arc lint + arc unit

Event Timeline

dereckson retitled this revision from to Declare notification exchange as durable.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added a reviewer: dereckson.
dereckson edited edge metadata.
This revision is now accepted and ready to land.Mar 12 2016, 05:21
This revision was automatically updated to reflect the committed changes.