3 Replies Latest reply on Jan 31, 2007 8:56 PM by Tim Fox

    JORAM Test failing

    Clebert Suconic Master

      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?