[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-1253) Validate DurableSubscriptionTest::testSameTransaction
Clebert Suconic (JIRA)
jira-events at lists.jboss.org
Tue Mar 25 10:17:44 EDT 2008
[ http://jira.jboss.com/jira/browse/JBMESSAGING-1253?page=comments#action_12404449 ]
Clebert Suconic commented on JBMESSAGING-1253:
----------------------------------------------
// You open a Transacted Session
Session sessionA = ..... ;
// You create a Producer on SessionA
MessageProducer producerA = .....;
// You create a Consumer (with a messageListener on SessionA)
MessageConsumer consumerA = ....
setMessageListener(....);
producerA.sendMessage(....);
sesssionA.commit();
// The message will arrive on consumerA (sessionA) before sessionA.commit() was finished (eventually).
// You won't be able to acknowledge the message from consumerA, and when you close the session, the message will be sent back to the queue.
DurableSubscriptionTest;;testSameTransaction is replicating this case
> Validate DurableSubscriptionTest::testSameTransaction
> -----------------------------------------------------
>
> Key: JBMESSAGING-1253
> URL: http://jira.jboss.com/jira/browse/JBMESSAGING-1253
> Project: JBoss Messaging
> Issue Type: Task
> Affects Versions: 1.4.1.beta1, 1.4.0.SP3_CP01
> Reporter: Clebert Suconic
> Assigned To: Tim Fox
> Fix For: 1.4.0.SP3.CP02, 1.4.1.beta2
>
>
> This test is failing, and I think it's a bug, but it might just be considered an invalid usage.
> Can you validate it please?
--
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