|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Retrieve entire msg, where msg length is > buf size |
« View previous topic :: View next topic » |
Author |
Message
|
kforster |
Posted: Sat Jul 02, 2005 7:59 pm Post subject: Retrieve entire msg, where msg length is > buf size |
|
|
Newbie
Joined: 02 Jul 2005 Posts: 3 Location: Melbourne, Australia
|
I need to be able to retrieve a physical message that varies in size, anywhere from 2k through to 16k. However, the
maximum buffer I can specify is 4k (application limitation). The message is put as a single physical message,
MQMD_VERSION_1. So MQMF_SEGMENTATION_ALLOWED is not specified.
I know I can use MQGMO_ACCEPT_TRUNCATED_MSG, however I need to receive the entire message. Is it possible to receive the
entire message in 2k chunks by performing repeated MQGET calls and specifying an Offset ? When I try, I get a failure
with a reason code of 2036 (not open for browse). |
|
Back to top |
|
 |
PeterPotkay |
Posted: Sat Jul 02, 2005 8:23 pm Post subject: Re: Retrieve entire msg, where msg length is > buf size |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
kforster wrote: |
Is it possible to receive the
entire message in 2k chunks by performing repeated MQGET calls and specifying an Offset ? |
Not possible.
If the conditions you specify are true, you are stuck. The 2 applications cannot MQ directly to each other. Either the sending app will have to manually chunck up the message for you, or you will have to introduce an app in the middle that will do it for you if the sending app can't/won't change. WB-IMB would be a good solution for the middle app if you have it, or you can write your own little utility app. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
MucheIsMyHero |
Posted: Sun Jul 03, 2005 10:59 am Post subject: |
|
|
Novice
Joined: 29 Jun 2005 Posts: 14
|
Just curious... why the 4k application limitation? |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|