[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] activemq-artemis pull request #2090: ARTEMIS-1868 Openwire doesn't add deliv...

Github user gaohoward commented on a diff in the pull request:
    --- Diff: artemis-protocols/artemis-openwire-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/openwire/amq/ ---
    @@ -308,6 +312,8 @@ public int sendMessage(MessageReference reference,
                               ServerConsumer consumer,
                               int deliveryCount) {
           AMQConsumer theConsumer = (AMQConsumer) consumer.getProtocolData();
    +      //clear up possible rolledback ids.
    +      rollbackedIds.remove(message.getMessageID());
    --- End diff --
    Yes I know this adds some costs. But so far I couldn't have a better solution.