Merge lp://staging/~jonathan-stoppani/txamqp/catch-closed-queues into lp://staging/txamqp
Proposed by
Jonathan Stoppani
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | not available | ||||
Proposed branch: | lp://staging/~jonathan-stoppani/txamqp/catch-closed-queues | ||||
Merge into: | lp://staging/txamqp | ||||
Diff against target: | None lines | ||||
To merge this branch: | bzr merge lp://staging/~jonathan-stoppani/txamqp/catch-closed-queues | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
txAMQP Team | Pending | ||
Review via email: mp+9745@code.staging.launchpad.net |
To post a comment you must log in.
Solves the incorrect shutdown of the sample client and allows correct channel closing.
The problem was solved by adding a errback to the TimeoutDeferreQueue instance used by ThriftAMQClient which only traps a "Closed()" failure.
As I don't know well the internals of txAMQP could be that some more cleanup code should be added to the errback, but the client is shutting down properly, thus I assumed all worked correctly.
Greets