qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marnie McCormack (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Created: (QPID-101) Add Queue Browsing feature to Java client (AMQSession)
Date Thu, 16 Nov 2006 13:41:37 GMT
Add Queue Browsing feature to Java client (AMQSession)
------------------------------------------------------

                 Key: QPID-101
                 URL: http://issues.apache.org/jira/browse/QPID-101
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
            Reporter: Marnie McCormack
             Fix For: M2


Currently attempts to create a QueueBroswer result in a UnsupportedOperationException being
thrown. This needs to be corrected. (See AMQSession.createBrowser methods). 

Note that TopicSession and QueueSession implementations correctly thrown IllegalStateExceptiuon
from these methods and do not need to be changed.

More info from JMS 1.1 Specification follows (see spec for more details):

5.9 QueueBrowser

A client uses a QueueBrowser to look at messages on a queue without removing
them. A QueueBrowser can be created from a Session or a QueueSession.
The browse methods return a java.util.Enumeration that is used to scan the
queue's messages. It may be an enumeration of the entire content of a queue,
or it may contain only the messages matching a message selector.
Messages may be arriving and expiring while the scan is done. JMS does not
require the content of an enumeration to be a static snapshot of queue content.
Whether these changes are visible or not depends on the JMS provider.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message