Hiram Chirino created QPID-4455:
-----------------------------------

             Summary: Queue browsers were not returning jms messages
                 Key: QPID-4455
                 URL: https://issues.apache.org/jira/browse/QPID-4455
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
            Reporter: Hiram Chirino


The following test case is failing:

            MessageProducer p = session.createProducer(queue);

            TextMessage message = session.createTextMessage();
            message.setText("hello");
            p.send(message);

            QueueBrowser browser = session.createBrowser(queue);
            Enumeration enumeration = browser.getEnumeration();
            while (enumeration.hasMoreElements()) {
                Message m = (Message) enumeration.nextElement();
                assertTrue(m instanceof TextMessage);
            }


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to