daveupdike
Programmer
As stated we're using MQSeries and JMS and all is fine until our user places a XML file on our queue with EVERYTHING on one line. It's about a 2K+ file. The file gets placed on the queue OK, but when we go to receive() it off of there we end up with nothing. Taking this file and hand placing eof's and it works. The user doesn't want to change his code.
I've read on the internet about a 1K dfault size and other things but the one it looks like I need is to use the MQGET and specifiy the max message length (in my case about 2000 but it but 20000 or higher). The Java string will handle this size but it's not getting that far.
We're currently using JMS and the QueueReceiver.receive() method has no param for the max message length, just a time out value.
Has anyone run into this before? Do we have to nix JMS and hand code MQGET's, etc? Any suggestions?
Thanks,
Dave Updike
dupdike@popmail.com
I've read on the internet about a 1K dfault size and other things but the one it looks like I need is to use the MQGET and specifiy the max message length (in my case about 2000 but it but 20000 or higher). The Java string will handle this size but it's not getting that far.
We're currently using JMS and the QueueReceiver.receive() method has no param for the max message length, just a time out value.
Has anyone run into this before? Do we have to nix JMS and hand code MQGET's, etc? Any suggestions?
Thanks,
Dave Updike
dupdike@popmail.com