ok i will do that

but i think i have found the bug in my test app. 

just wanted to know how to handle if queue is empty
i know it gives exception

what i want to check is that if the queue is empty 
and there is no message 

then it should not exit it should go back again to read

any return type of any indication that the exception raised is

queue is empty

another query is any api to purge queue and to get the depth of the queue

actaully we want to used qpid to replace websphere mq.

need your help.

thanks

Regards,

Nithesh



--- On Tue, 7/26/11, Gordon Sim <[email protected]> wrote:

> From: Gordon Sim <[email protected]>
> Subject: Re: Qpid 0.10 Browse Issue
> To: [email protected]
> Date: Tuesday, July 26, 2011, 4:22 PM
> On 07/26/2011 04:51 PM, Nithesh
> Shetty wrote:
> > Hi,
> >
> > i have created a receiver in browse mode. the receiver
> is waiting to fetch a msg.
> >
> > now i have another application that send message on
> the same queue.
> >
> > Many times fetch gets stuck it does not return even if
> there is message in the queue.
> >
> > Duration is INFINITE.
> >
> > Awaiting your reply.
> 
> Can you send a simple test case? Works as expected for me.
> 
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:[email protected]
> 
>

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to