Guy,

I'd say from these symptoms that there is a fairly strong chance that 
there is a bug to be investigated.
Please can you raise a PMR so the IBM support team can work with you to 
get the problem solved.

Brian Cope




Guy Shavitt <[EMAIL PROTECTED]> 
Sent by: MQSeries List <[email protected]>
23/07/2007 09:08
Please respond to
MQSeries List <[email protected]>


To
[email protected]
cc

Subject
Possible bug in QueueBrowser of XMS for C++






Hello all,

I am using XMS for C++ on Windows, connecting to a remote queue manager 
(MQ 
5.3).
When I use a MessageConsumer to receive any messages from my queue, it 
works 
fine.
When I try to browse messages instead of receiving them, things start to 
get 
weird...

With a QueueBrowser, hasNext() of the xms::Iterator returns false 
sometimes 
even tough there are still messages on the queue (that a regular receiver 
DOES receive).

I've done some further testing and it seems that it only fails to retrieve 

the messages when their size is larger than around 260KB (the message data 

is just some file data.. format MQSTR).

Note that there is no loop, no transactions/commits/rollbacks, no message 
selectors (for now), no errors in the mq error log, no exceptions thrown, 
only hasNext() returning false.

Also:
If I put a small message on the empty queue (which can be read just fine 
by 
the QueueBrowser)
but then I add some large messages (>260k) afterwards, then the first 
getNext() returns the small message which is ok but then.. hasNext() keeps 

returning true, and getNext() keeps returning the SAME short first 
message.. 
something very fishy is going on

Any ideas, please?

Thanks
Guy

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

To unsubscribe, write to [EMAIL PROTECTED] and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html







Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU






To unsubscribe, write to [EMAIL PROTECTED] and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html

Reply via email to