Github user grs commented on a diff in the pull request:

    https://github.com/apache/qpid/pull/9#discussion_r68322267
  
    --- Diff: qpid/cpp/src/qpid/broker/amqp/Outgoing.cpp ---
    @@ -142,11 +145,10 @@ void OutgoingFromQueue::handle(pn_delivery_t* 
delivery)
                     if (preAcquires()) {
                         //TODO: handle message-annotations
                         if 
(pn_disposition_is_undeliverable(pn_delivery_remote(delivery))) {
    -                        //treat undeliverable here as rejection
    -                        queue->reject(r.cursor);
    -                    } else {
    -                        queue->release(r.cursor, 
pn_disposition_is_failed(pn_delivery_remote(delivery)));
    +                        undeliverableMessages.add(r.msg.getSequence());
                         }
    +
    +                    queue->release(r.cursor, 
pn_disposition_is_failed(pn_delivery_remote(delivery)));
    --- End diff --
    
    That's a fair point. It wouldn't actually be a regression. Let's leave any 
queue options as a separate concern for now then.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to