Re: browse queue

2009-09-09 Thread Bill Whiting
I changed the acceptMode and now the message dequeues are being reported correctly. Thanks so much! //Bill On 09/09/2009 02:19 PM, Gordon Sim wrote: On 09/09/2009 06:35 PM, Bill Whiting wrote: There's nothing special about the put program. The browse program browses messages from the queue

Re: browse queue

2009-09-09 Thread Gordon Sim
On 09/09/2009 06:35 PM, Bill Whiting wrote: There's nothing special about the put program. The browse program browses messages from the queue and will acquire and accept every fourth message. The code works in that if you run the put program 5 times , and then run browse. The first time you run

Re: browse queue

2009-09-09 Thread Bill Whiting
There's nothing special about the put program. The browse program browses messages from the queue and will acquire and accept every fourth message. The code works in that if you run the put program 5 times , and then run browse. The first time you run browse there will be 20 messages that ar

Re: browse queue

2009-09-09 Thread Bill Whiting
On 09/09/2009 12:50 PM, Carl Trieloff wrote: Gordon Sim wrote: On 09/09/2009 04:59 PM, Bill Whiting wrote: Thanks, I'm able to browse messages non-destructively and I can acquire/accept an individual message and remove it from the queue; however, qpid-stat -q shows the same number of messages.

Re: browse queue

2009-09-09 Thread Carl Trieloff
Gordon Sim wrote: On 09/09/2009 04:59 PM, Bill Whiting wrote: Thanks, I'm able to browse messages non-destructively and I can acquire/accept an individual message and remove it from the queue; however, qpid-stat -q shows the same number of messages. Is this a bug in qpid-stat or are those messa

Re: browse queue

2009-09-09 Thread Gordon Sim
On 09/09/2009 04:59 PM, Bill Whiting wrote: Thanks, I'm able to browse messages non-destructively and I can acquire/accept an individual message and remove it from the queue; however, qpid-stat -q shows the same number of messages. Is this a bug in qpid-stat or are those messages waiting for som

Re: browse queue

2009-09-09 Thread Bill Whiting
Thanks, I'm able to browse messages non-destructively and I can acquire/accept an individual message and remove it from the queue; however, qpid-stat -q shows the same number of messages. Is this a bug in qpid-stat or are those messages waiting for some timeout before they become available aga

Re: browse queue

2009-09-09 Thread Gordon Sim
On 09/09/2009 04:06 PM, Bill Whiting wrote: Is there sample code or explanation in the documentation on how to browse a queue. No, but I have a Jira open for some doc improvements and have noted this as one of them (feel free to add more comments to that). I have setup a local queue and sub

browse queue

2009-09-09 Thread Bill Whiting
Is there sample code or explanation in the documentation on how to browse a queue. I have setup a local queue and subscribed to messages from a queue in the broker. I set acquire mode to pre-acquire and the accept mode to none. The messages are still removed from the broker's queue even though