final MessageDispatcher dispatcher,
MuleMessage result)
{
if (result != null && result.getPayload() instanceof InputStream)
{
DelegatingInputStream is = new DelegatingInputStream((InputStream) result.getPayload())
{
@Override
public void close() throws IOException
{
try