[jboss-user] [JBoss Messaging] - Re: message compression
timfox
do-not-reply at jboss.com
Wed Feb 18 01:28:08 EST 2009
javadude-
If you'd like to have a go at implementing this, the classes to look at are:
ClientSessionFactoryImpl:: you'd need to add at least one new param
int maxUnCompressedSize - any messages above this size get automatically compressed.
then in
ClientProducerImpl, before sending the message, you'd need to take the message body and zip it before sending.
in ClientConsumerImpl you'd do the uncompressing.
Best to take this discussion to the design forum, since it's no longer a user issue... :)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4210920#4210920
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210920
More information about the jboss-user
mailing list