activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Gomes (JIRA)" <>
Subject [jira] Commented: (AMQNET-61) Auto-Acknowledgement Mode always sends unnecessary ACK message
Date Fri, 04 Jan 2008 17:21:43 GMT


Jim Gomes commented on AMQNET-61:

I re-worked this part of the code.  The AutoClientAcknowledge mode was causing certain problems
with STOMPConnect and messages were not being removed from the queue.  Instead, I added the
option to ignore error returns on asynchronous message acknowledgment.  The result of the
ACK is discarded, so any error generated by it should also be discarded.  The upshot is that
the AutoClientAcknowledge mode was completely removed.

> Auto-Acknowledgement Mode always sends unnecessary ACK message
> --------------------------------------------------------------
>                 Key: AMQNET-61
>                 URL:
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: ActiveMQ Client, MSMQ, Stomp
>         Environment: Windows XP SP2
> .NET 2.0
>            Reporter: Jim Gomes
>            Assignee: James Strachan
>            Priority: Minor
>         Attachments: IConnection.cs.patch.txt, MessageConsumer.cs.patch.txt, StompWireFormat.cs.patch.txt
> When a MessageConsumer receives a message, it sends a MessageAck even when the acknowledgment
mode is set to AutoAcknowledge.  This results in an error message being sent back to the client
stating that there is no such message to acknowledge.
> According to standard JMS semantics, when AutoAcknowledge mode is used, the client does
not need to (and apparently should not) send back an ACK message.  An ACK message should only
be sent back when the subscription is in ClientAcknowledge or DupsOkAcknowledge mode.  Sending
back unnecessary responses creates unnecessary network traffic and load on a high-speed server.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message