You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org> on 2007/04/19 15:08:15 UTC

[jira] Resolved: (QPID-101) Add Queue Browsing feature to Java client (AMQSession)

     [ https://issues.apache.org/jira/browse/QPID-101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marnie McCormack resolved QPID-101.
-----------------------------------

    Resolution: Fixed

Marking this task as resolved. Have raised queries a couple of times on the dev list, and am now closing. If outstanding work, please capture in a new JIRA for M3.

> Add Queue Browsing feature to Java client (AMQSession)
> ------------------------------------------------------
>
>                 Key: QPID-101
>                 URL: https://issues.apache.org/jira/browse/QPID-101
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>            Reporter: Marnie McCormack
>         Assigned To: Tejeswar Das
>             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.
-
You can reply to this email to add a comment to the issue online.