You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org> on 2006/12/18 18:58:20 UTC
[jira] Created: (QPID-214) Calling recover in onMessage() should
stop Auto-ACK being sent for current message
Calling recover in onMessage() should stop Auto-ACK being sent for current message
----------------------------------------------------------------------------------
Key: QPID-214
URL: http://issues.apache.org/jira/browse/QPID-214
Project: Qpid
Issue Type: Bug
Components: Java Client, JMS Compliance
Reporter: Rob Godfrey
If using a MessageListener, calling Session.recover() while in the onMessage() processor, should stop the auto-acknowledgement of the current message.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (QPID-214) Calling recover in onMessage() should
stop Auto-ACK being sent for current message
Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Ritchie resolved QPID-214.
---------------------------------
Resolution: Fixed
Revision: 488377
Author: rgreig
Date: 18:05:25, 18 December 2006
Message:
QPID-214 Patch supplied by Rob Godfrey
> Calling recover in onMessage() should stop Auto-ACK being sent for current message
> ----------------------------------------------------------------------------------
>
> Key: QPID-214
> URL: https://issues.apache.org/jira/browse/QPID-214
> Project: Qpid
> Issue Type: Bug
> Components: Java Client, JMS Compliance
> Reporter: Rob Godfrey
> Attachments: QPID-214.patch
>
>
> If using a MessageListener, calling Session.recover() while in the onMessage() processor, should stop the auto-acknowledgement of the current message.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (QPID-214) Calling recover in onMessage() should
stop Auto-ACK being sent for current message
Posted by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/QPID-214?page=all ]
Rob Godfrey updated QPID-214:
-----------------------------
Attachment: QPID-214.patch
Use flag at session level to denote whether we are "inRecovery", reset to false at the start of each message processing. Only send auto-acknowledgement if we are not inRecovery.
Test case attached.
> Calling recover in onMessage() should stop Auto-ACK being sent for current message
> ----------------------------------------------------------------------------------
>
> Key: QPID-214
> URL: http://issues.apache.org/jira/browse/QPID-214
> Project: Qpid
> Issue Type: Bug
> Components: Java Client, JMS Compliance
> Reporter: Rob Godfrey
> Attachments: QPID-214.patch
>
>
> If using a MessageListener, calling Session.recover() while in the onMessage() processor, should stop the auto-acknowledgement of the current message.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Assigned: (QPID-214) Calling recover in onMessage() should
stop Auto-ACK being sent for current message
Posted by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Godfrey reassigned QPID-214:
--------------------------------
Assignee: Rob Godfrey
> Calling recover in onMessage() should stop Auto-ACK being sent for current message
> ----------------------------------------------------------------------------------
>
> Key: QPID-214
> URL: https://issues.apache.org/jira/browse/QPID-214
> Project: Qpid
> Issue Type: Bug
> Components: Java Client, JMS Compliance
> Reporter: Rob Godfrey
> Assigned To: Rob Godfrey
> Attachments: QPID-214.patch
>
>
> If using a MessageListener, calling Session.recover() while in the onMessage() processor, should stop the auto-acknowledgement of the current message.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.