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

    https://github.com/apache/activemq-artemis/pull/690#discussion_r73265682
  
    --- Diff: 
artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/proton/plug/ProtonSessionIntegrationCallback.java
 ---
    @@ -352,17 +354,34 @@ public void serverSend(final Receiver receiver,
     
           PagingStore store = 
manager.getServer().getPagingManager().getPageStore(message.getAddress());
           if (store.isRejectingMessages()) {
    -         ErrorCondition ec = new 
ErrorCondition(AmqpError.RESOURCE_LIMIT_EXCEEDED, "Address is full: " + 
message.getAddress());
    -         Rejected rejected = new Rejected();
    -         rejected.setError(ec);
    -         delivery.disposition(rejected);
    -         connection.flush();
    +         // We drop pre-settled messages (and abort any associated Tx)
    +         if (delivery.remotelySettled()) {
    +            if (serverSession.getCurrentTransaction() != null) {
    +               rollbackCurrentTX(false);
    --- End diff --
    
    There's a thing you can do here.. markRollbackOnly on the current 
Transaction?


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to