Monday, February 1, 2021

Chunked Streaming in Weblogic

Usage of Chunked Streaming Mode Usage in Business Service of OSB 11g

As in the OSB documentation provide by Oracle 

Chunked Streaming Mode property should be selected if you want to use HTTP chunkedtransfer encoding to send messages.

Chunked transfer encoding is an HTTP 1.1 specification, and allows clients to parse dynamic data immediately after the first chunk is read. 

Use Checked Streaming Mode  to use HTTP chunked transfer encoding to send messages under HTTP transport configurations for a business service.  Do not use  this option if you have http redirects configured. Also, try to disable this option,  if you are getting

  • Client request get a read timed out error
  • "Request Entity Too Large" appears with The BEA-380000 error in the logs (OSB 11g)
  • "Request Entity Too Large" appears with the http status code 413 error in the logs (OSB 12c)
  • The last executed OSB instance continuously retries every 5 minutes

If you disable "Checked Streaming Mode"  OSB may double invoke target system for a single invocation.  Also, Quality of Service attribute of Proxy Service default behavior of "Exactly Once" is affected. To fix, you need to check on "Quality of Service" attribute to make it as "Exactly Once" for the -message flow -route node of a proxy service.