Monday, July 23, 2012

WebLogic JMS in-flight Message Compression

WebLogic JMS has a feature for compression of in-flight JMS messages. Compression happens between the JMS client library and the JMS server. This avoids bandwidth issues and nasty problems with maximum message size limitations (see http://thomasrischbeck.blogspot.ch/2012/03/jms-maxmessage-size-persistent-messages.html).

Dynamic compression can be enabled on the JMS connection factory. Here you specify a threshold in bytes. If the serialized message body exceeds this threshold and if the client is not collocated then the message payload is compressed in-flight. See Compressing Messages in the WebLogic Performance and Tuning Guide.

An alternative is to programmatically set a compression threshold via WLMessageProducer interface.



11 comments:

Prithviraj said...

Dear Thomas,
Thank you very much for this valuable information. From the screenshot, I understand that, you have set threshold value to 16MB.
In my scenarion, I am fetching data from oracle DB. How do I identify what size of data I am fetching? Is there any way to find out the message size?
I am asking this question because I need to determine optimum value of threshold and need to know if compression is applied on the data that I have fetched.

meadow meadow said...

To see http://www.mmomesos.com/ and http://www.mmolive.com/ world in a granda of http://www.mmohome.com/stand.And a heaven in a wild flower.Hold infinity in the palm your hand and eternity in an hour.

Chinese Style said...

The informal Chinese clothes would come with tops and bottoms and one piece robes that wrapped after or even more across the overall body.

salediablo said...

They will demonstrate 10 Han rice that package Lone Star wheel. Eat shit eat a good time!

Biti said...
This comment has been removed by the author.
Biti said...

wow, i carefully read WebLogic JMS in-flight Message Compression. Thanks




wow gold

aion accounts said...

Looking forward to another great blog. Good luck to the author. all the best.

diablo 3 said...

1) Always keep huge stocks on diablo 3 gold all servers

2) Instant delivery on diablo 3 items

3) Available 7/24 customer support for any and all questions

4) Smooth and secure buy diablo 3 gold transactions, guarantee delivery 100% safe on our indiablo3gold.com site

5) Please ensure all the information you filled is correct.

Get more : http://www.indiablo3gold.com/

diablo sale said...

WebLogic Jms is the great information. I understand what u want to say. BTW, We have diablo 3 gold in our site. u will like it.

WOW gold said...

I like reading posts with such a fresh point of view on this interesting topic. Thank you so much.

Phien dich tieng anh said...

Interesting point of view and I agree with most of what you say.You've made some valid points and I think you're spot on.