I would be nice to have an option for LayoutWrappingEncoder that will force flushing to the outstanding output stream immediately.
This feature is required due several circumstances related to old-style integration tasks via file syncing.
Pleas follow this thread on StackOverflow: http://stackoverflow.com/q/11829922/538514