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 2006/11/16 14:41:37 UTC

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

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

        

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

Posted by John O'Hara <jo...@gmail.com>.
There are so many things to do.
What's driving the urgency?  Is it an M2/M3/M4 thing?  Why?

Queue browsing is needed for the TCK, and handy for management interfaces,
but is seldom used in actual applications.  The apps we have don't need
this, so I'd like to make it less urgent.

Obviously we need to pass the TCK and be fully JMS compliant, but we can't
do everything at once (can we?).

AMQP also needs a browse interface added to the protocol.  I'd expect this
in the v0-10, in Q1.  In the meantime it could be implemented as an Qpid
specific feature, but do we need it *that* much.  Will end of Q1 do?

john

On 02/12/06, Rajith Attapattu (JIRA) <qp...@incubator.apache.org> wrote:
>
>     [
> http://issues.apache.org/jira/browse/QPID-101?page=comments#action_12455059]
>
> Rajith Attapattu commented on QPID-101:
> ---------------------------------------
>
> Tejeswar Das,
>
> Can you please provide an update on this issue ?
> This is crucial for us to pass the tests.
>
> Regards,
>
> Rajith
>
> > 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
> >         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.
> -
> 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
>
>
>

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

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/QPID-101?page=comments#action_12459954 ] 
            
Martin Ritchie commented on QPID-101:
-------------------------------------

Robert Godfrey and I have committed an initial draft of Queue Browsing. 

> 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
>         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.
-
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

        

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

Posted by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org>.
     [ 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.


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

Posted by "Tejeswar Das (JIRA)" <qp...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/QPID-101?page=all ]

Tejeswar Das reassigned QPID-101:
---------------------------------

    Assignee: Tejeswar Das

> 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
>         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.
-
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

        

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

Posted by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/QPID-101?page=comments#action_12455059 ] 
            
Rajith Attapattu commented on QPID-101:
---------------------------------------

Tejeswar Das,

Can you please provide an update on this issue ? 
This is crucial for us to pass the tests.

Regards,

Rajith

> 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
>         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.
-
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