Problems with peek-ing from a queue
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Valentin_Maier
Posted On:   Tuesday, January 29, 2002 09:25 AM

I need to be able to peek at a SwiftMQ queue wich I do using the QueueBrowser object. The problem I am running into is that if I am in a loop trying to peek at a message and then process it, the peek works only for the first time! In order to get it to work I had to continually call createBrowser() ! Is this a known behaviour? And if it is, I would assume I have to call close() on the browser everytime to release resources? How time consuming is this? Is there a better way?

Thanks,

Valentin.

Re: Problems with peek-ing from a queue

Posted By:   Andreas_Mueller  
Posted On:   Tuesday, January 29, 2002 10:44 AM

Yes, that's a known bug in 2.1.3. It is fixed for the 3.0.0, coming soon.
About | Sitemap | Contact