qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Das, Kapali Tejeswar" <tejeswar....@iona.com>
Subject RE: [java] Question on implementing queue browsing
Date Tue, 05 Dec 2006 19:56:49 GMT
Tim,

Thanks for your response. So, are you suggesting we should use some
other queueing construct instead of SynchronousQueue? If yes, then I
would like to know about the performance implication of any such change.
Could somebody familiar with the code let me know the reason it
(SynchronousQueue) was chosen?

Thanks and regards
Tejeswar

-----Original Message-----
From: Tim Fox [mailto:tim.fox@jboss.com] 
Sent: Tuesday, December 05, 2006 2:37 PM
To: qpid-dev@incubator.apache.org
Subject: Re: [java] Question on implementing queue browsing



Das, Kapali Tejeswar wrote:
> I am currently working on implementing the JMS queue browsing
> functionality. Qpid uses java.util.concurrent.SynchronousQueue for its
> internal queue for enqueing and dequeing messages. This class doesn't
> allow to peek/browse messages in the queue. It only has methods to put
a
> message or get a message (with a timeout).

Right. Also, for JMS, you'll need to implement some kind of priority 
queue, which SynchronousQueue won't handle.

> 
>  
> 
> Any suggestions for how we should implement the queue browsing
feature?
> I also noticed that there is no native implementation of queue
browsing
> in Qpid.
> 
>  
> 
> Thanks and regards
> 
> Tejeswar
> 
> 

-- 
Tim Fox
JBoss Messaging Technical Lead
JBoss - a division of Red Hat
T: +44 2088006768
M: +44 7957983205
E: tim.fox@jboss.com tim.fox@redhat.com

Mime
View raw message