Page MenuHomeDevCentral

Declare notification exchange as durable
ClosedPublic

Authored by dereckson on Mar 12 2016, 05:20.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 7, 10:47
Unknown Object (File)
Thu, Dec 5, 05:05
Unknown Object (File)
Wed, Dec 4, 15:18
Unknown Object (File)
Wed, Dec 4, 15:18
Unknown Object (File)
Tue, Dec 3, 13:35
Unknown Object (File)
Sun, Dec 1, 09:40
Unknown Object (File)
Sun, Dec 1, 09:20
Unknown Object (File)
Nov 15 2024, 22:04
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.