Why not using the BufferedOutput available in the component ?