Re: QueueBrowser and unacked received messages

Anders Bogdan <[email protected]> Fri, 14 Jul 2006 10:19:57 -0500
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
On Jul 13, 2006, at 4:27 PM, Tim Anderson wrote:

> Anders Bogdan wrote:
>> Greetings!
>>
snip
>> using openjms-0.7.6.1, and a queue.
>> I'm trying to avoid having functionally equivalent jms messages on
>> the queue at the same time.
>>
>> Thanks.
>>
> Once a message has been delivered, it is not available to  
> QueueBrowsers,
> unless
> they had that message cached locally.
> You could use a second queue that the processor could use to indicate
> that it is processing a request.
> This would be consumed by the processor once the processing is  
> complete.
> The sender would check this second queue before issuing requests.
>
> However, it sounds like you need a different approach. Have you looked
> at QueueRequestor?
> http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/jms/ 
> QueueRequestor.html
>
> -Tim

Thanks for the reply - Looks like a tracking queue would work -  
probably won't do it! but thanks.



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642