[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - MessageConsumer.receive() successfully returned although Cha
igarashit
do-not-reply at jboss.com
Fri Jul 14 04:06:41 EDT 2006
Hello,
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.
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957992#3957992
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957992
More information about the jboss-dev-forums
mailing list