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 » Compression

Post new topic  Reply to topic Goto page Previous  1, 2
 Compression « View previous topic :: View next topic » 
Author Message
fjb_saper
PostPosted: Tue Jul 29, 2008 2:32 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20767
Location: LI,NY

skytrain wrote:
hi again..and thx for answerng

here a little desciption of my test:

i developed a java programm that can put and get messages on and from the MQ from and to the filesystem...using the Server Channel the hashtable i use when i create an instance of my queue manager:


Hashtable table = new Hashtabe();
table.put(MQC.CHANNEL_PROPERTY, myChannelname);
table.put(MQC.HOST_NAME_PROPERTY, myHostname);
table.put(MQC.PORT_PROPERTY, Port);
//here now my compression
Collection msgComp = new Vector();
msgComp.add(new Integer(MQC.MQCOMPRESS_ZLIBHIGH));
MQEnvironement.hdrCompList = msgComp;
MQQueueManeger mq = new MQQueueManager(myqueuemang, table);

the compression by doing this is not working..i dont know why...
any idea?
thx

The answer is because you are setting the compression on the message header only instead of setting it at the message level.....
Now we still expect your message to be under 4MB.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
solomon_13000
PostPosted: Thu Oct 02, 2008 7:24 am    Post subject: Reply with quote

Master

Joined: 13 Jun 2008
Posts: 284

so we can set compression at the sender channel by issuing the following MQSC command:

ALTER CHANNEL(<channelname>) COMPMSG(ZLIBHIGH)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General IBM MQ Support » Compression
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.