[
http://jira.jboss.com/jira/browse/JBMESSAGING-899?page=all ]
Clebert Suconic updated JBMESSAGING-899:
----------------------------------------
Summary: Messages are temporarily lost if message arrives on a closed
MessageCallbackHandler (was: QueueTest::testClosedConsumerAfterStart fails because a
possible anti-pattern)
Description:
If this pattern is being used:
MessageConsumer c2 = s2.createConsumer(queue);
conn2.start();
c2.close();
c2 = s2.createConsumer(queue);
We might loose messages until we close the session
QueueTest::testClosedConsumerAfterStart validate this bug. It fails occasionally
(on my computer in happened 1 in 6)
was:
If this anti-pattern is being used:
MessageConsumer c2 = s2.createConsumer(queue);
conn2.start();
c2.close();
c2 = s2.createConsumer(queue);
We might loose messages until we restart the server.
Messages are temporarily lost if message arrives on a closed
MessageCallbackHandler
-----------------------------------------------------------------------------------
Key: JBMESSAGING-899
URL:
http://jira.jboss.com/jira/browse/JBMESSAGING-899
Project: JBoss Messaging
Issue Type: Bug
Reporter: Clebert Suconic
Assigned To: Tim Fox
Priority: Blocker
Fix For: 1.2.0.GA
If this pattern is being used:
MessageConsumer c2 = s2.createConsumer(queue);
conn2.start();
c2.close();
c2 = s2.createConsumer(queue);
We might loose messages until we close the session
QueueTest::testClosedConsumerAfterStart validate this bug. It fails occasionally
(on my computer in happened 1 in 6)
--
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