|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Compressed Data being corrupted |
« View previous topic :: View next topic » |
Author |
Message
|
Toast |
Posted: Wed Aug 20, 2003 10:27 am Post subject: Compressed Data being corrupted |
|
|
Newbie
Joined: 20 Aug 2003 Posts: 1 Location: Chicago
|
Hi there.
I'm trying to send a large amount of text data over MQSeries (which I am new to using)
So, I loaded some data into a string in vb.Net, used Kolban's MQ.net APIs (which worked great. Thank you, Kolban), and everything worked.
Added compression to the mix using zlib compression, still stored as a string.
Now when I Get my message off the queue it looks very different than when I put it on the queue and, of course, won't decompress.
I did a search through the hints and tips and didn't see anything on this topic but maybe I missed something.
Any help would be appreciated.
Allen (Toast) _________________ It is unwise to dally with plants. |
|
Back to top |
|
 |
EddieA |
Posted: Wed Aug 20, 2003 11:18 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Well, the moment you compressed you data it is no longer a string. So, if you had the Format set to MQSTR, then MQSeries could try and convert the data between different code pages, if you did a GET with Convert. That would totally screw up the data.
If that's the case, then your GET must NOT do a Convert. But that then leaves it up to YOU to do conversion between different code pages.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
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
|
|
|
|