Adding org.apache.cxf.feature.LoggingFeature to Bus feature affects the response header, it adds transfer encoding as chunked, where as without LoggingFeature the content length is set and no transfer encoding set.
<bean class="org.apache.cxf.feature.LoggingFeature" />
Response header when LoggingFeature is added,
Date: Wed, 01 May 2019 05:43:46 GMT
Response header when LoggingFeature is removed,
Date: Wed, 01 May 2019 06:30:04 GMT
Possible issue may be because converting the original OutputStream to CacheAndWriteOutputStream, I am not able look into further