[jboss-jira] [JBoss JIRA] Created: (JBMESSAGING-433) MessageConsumer.receive() successfully returned although the acknowledgement is failed

Tomohisa Igarashi (JIRA) jira-events at jboss.com
Fri Jul 14 04:49:23 EDT 2006


MessageConsumer.receive() successfully returned although the acknowledgement is failed
--------------------------------------------------------------------------------------

                 Key: JBMESSAGING-433
                 URL: http://jira.jboss.com/jira/browse/JBMESSAGING-433
             Project: JBoss Messaging
          Issue Type: Bug
          Components: Messaging Core
    Affects Versions: 1.0.1.CR3
            Reporter: Tomohisa Igarashi
         Assigned To: Ovidiu Feodorov


When the receiver wait a message at MessageConsumer.receive() in AUTO_ACKNOWLEDGE mode, 
If database is down before the JDBCPersistenceManager commits the message deletion, 
ChannelState.acknowledge() throws Exception. 

But ChannelSupport catch this, and receiver's MessageConsumer.receive() successfully returned. 

This mean that JMS provider failed to acknowledge and message is still in DB, 
but receiver doesn't know this. Receiver think the message has successfully deleted. 

In this case, I think JMS provider should throw JMSException to receiver to report that server side error has occured and failed to acknowledge. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list