My Oracle Support Banner

WLS GetBodyLength() Returns 0 If Message Is Compressed (Doc ID 1511926.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version 10.3.5 and later
Information in this document applies to any platform.

Symptoms

When using  getBodyLength(), used to read messages, returns 0 if the message has been previously compressed.

e.g:

The message is compressed because compression threshold has been set to 0 in the Connection Factory.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.