[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - JORAM Test failing
clebert.suconic@jboss.com
do-not-reply at jboss.com
Wed Jan 31 18:45:43 EST 2007
I have this integration JORAM-test failing on jboss-head:
| receiverConnection.stop();
| receiverSession = receiverConnection.createQueueSession(false, Session.CLIENT_ACKNOWLEDGE);
| receiver = receiverSession.createReceiver(receiverQueue);
| receiverConnection.start();
|
| Message message = senderSession.createMessage();
| sender.send(message);
|
| // no sleep here..
|
| Message m = receiver.receive(0); << -- sometimes it never leave receive.
|
| System.out.println("message received");
| receiverConnection.close();
| m.acknowledge(); // this should throw an exception
|
I wrote a similar test-case in our SVN and it is not failing.
Any idea if this would fail in 1.0 GA?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009118#4009118
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009118
More information about the jboss-dev-forums
mailing list