glassfish
  1. glassfish
  2. GLASSFISH-19454

Creating a Queue Browser with a selector is not working.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: 4.0_b67_ms7
    • Fix Version/s: None
    • Component/s: jms
    • Labels:
      None
    • Environment:

      N/A

      Description

      The following tests fail in CTS JMS:

      FAILED........com/sun/ts/tests/jms/core20/jmscontextqueuetests/Client.java#createQueueBrowserTest_from_appclient
      FAILED........com/sun/ts/tests/jms/core20/jmscontextqueuetests/Client.java#createQueueBrowserTest_from_ejb
      FAILED........com/sun/ts/tests/jms/core20/jmscontextqueuetests/Client.java#createQueueBrowserTest_from_jsp
      FAILED........com/sun/ts/tests/jms/core20/jmscontextqueuetests/Client.java#createQueueBrowserTest_from_servlet

      Creating a Queue Browser with a selector is not working.

      Send 2 messages with "lastMessage=false"
      Send 3rd message with "lastMessage=true"

      qBrowser = context.createBrowser(queue, "lastMessage = TRUE");

      While enumerating through the qBroswer objects we should only get 1 message
      the last message where "lastMessage=true". We get all 3 messages.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            David Zhao
            Reporter:
            adf59
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: