ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Compressed Data being corrupted

Post new topic  Reply to topic
 Compressed Data being corrupted « View previous topic :: View next topic » 
Author Message
Toast
PostPosted: Wed Aug 20, 2003 10:27 am    Post subject: Compressed Data being corrupted Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Wed Aug 20, 2003 11:18 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Compressed Data being corrupted
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.