|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
XMS and big messages |
« View previous topic :: View next topic » |
Author |
Message
|
pnicolay |
Posted: Mon Nov 29, 2010 2:06 am Post subject: XMS and big messages |
|
|
Apprentice
Joined: 29 Nov 2010 Posts: 26
|
I've an XMS program (my first one), and it works fine with small messages, however when I have a big message (ie > 4 MB) it reads the message but the connection with the server remains open (after connection.Close()) and when I terminate the program the read message reappaeras on the queue ?
The Java program that is putting the message works fine (as well as a Java test program to read the message).
Any tips, or is this a bug ? The server is an iSeries MQ 6, the client software MQ 7.1 |
|
Back to top |
|
 |
Vitor |
Posted: Mon Nov 29, 2010 5:34 am Post subject: Re: XMS and big messages |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
pnicolay wrote: |
I've an XMS program (my first one), and it works fine with small messages, however when I have a big message (ie > 4 MB) it reads the message but the connection with the server remains open (after connection.Close()) and when I terminate the program the read message reappaeras on the queue ? |
How good is your program's error trapping? 4Mb is the default limit for a lot of WMQ objects & you could be getting a "message too large" error that you're not responding to.
pnicolay wrote: |
The Java program that is putting the message works fine (as well as a Java test program to read the message). |
Is the Java program making the same class of connection as your application? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Nov 29, 2010 5:48 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Uhm, sounds like there's a failure to commit. |
|
Back to top |
|
 |
pnicolay |
Posted: Mon Nov 29, 2010 5:58 am Post subject: |
|
|
Apprentice
Joined: 29 Nov 2010 Posts: 26
|
Just ignore the question... I installed 7.0.1.3 and everything works fine now (using the normal .NET code as well which had the same issue). |
|
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
|
|
|
|