Author |
Message |
Topic: Getting a (too) large message with two MQGET calls |
kraf
Replies: 14 Views: 7495
|
Forum: General IBM MQ Support Posted: Thu Sep 13, 2012 5:12 am Subject: Getting a (too) large message with two MQGET calls |
Most excellent. Thank you very much for the help.
Best Regards
Kraf |
Topic: Getting a (too) large message with two MQGET calls |
kraf
Replies: 14 Views: 7495
|
Forum: General IBM MQ Support Posted: Thu Sep 13, 2012 1:42 am Subject: Getting a (too) large message with two MQGET calls |
Hi Bruce2359 and Exerk,
Just to clarify and test whether I have understood you guys correctly:
Instead of using two calls to MQGET, I can just use one call. This can be allowed since the GETMAIN ... |
Topic: Getting a (too) large message with two MQGET calls |
kraf
Replies: 14 Views: 7495
|
Forum: General IBM MQ Support Posted: Wed Sep 12, 2012 5:11 am Subject: Getting a (too) large message with two MQGET calls |
Hi nathanw,
I would ask why you cannot
...
This is the first time I have heard of this
It is possible, no doubt about that. However I am operating under a development policy that dissall ... |
Topic: Getting a (too) large message with two MQGET calls |
kraf
Replies: 14 Views: 7495
|
Forum: General IBM MQ Support Posted: Wed Sep 12, 2012 5:01 am Subject: Getting a (too) large message with two MQGET calls |
Hmm I just wondered, when you write:
...set your buffer to be a little larger than the MAXMSGL of the queue...
Would it matter if the buffer is excatly the same size of the MAXMSGL?
Or, st ... |
Topic: Getting a (too) large message with two MQGET calls |
kraf
Replies: 14 Views: 7495
|
Forum: General IBM MQ Support Posted: Wed Sep 12, 2012 4:49 am Subject: Getting a (too) large message with two MQGET calls |
Hi Exerk and Bruce2359,
Unfortunately I am working in an environment where it is not allowed to initialize a large area each time a message is received, which is why we started out on this quest.
... |
Topic: Getting a (too) large message with two MQGET calls |
kraf
Replies: 14 Views: 7495
|
Forum: General IBM MQ Support Posted: Wed Sep 12, 2012 4:18 am Subject: Getting a (too) large message with two MQGET calls |
Hi Exerk,
The content of the message is being sent as MQFMT_STRING.
Futhermore, if the message size is smaller than the buffer size when calling MQGET the first time, then the content of the mes ... |
Topic: Getting a (too) large message with two MQGET calls |
kraf
Replies: 14 Views: 7495
|
Forum: General IBM MQ Support Posted: Wed Sep 12, 2012 2:47 am Subject: Getting a (too) large message with two MQGET calls |
Hi all,
We are trying to implement a procedure that will allow us to get a message from MQ, and if it is larger than the buffer size, do a MQGET again with the correct buffer size (as read from the ... |