195196197198199200201202203204205206
final Entry e = entry; return new OutputHandler() { public void write(MuleEvent event, OutputStream out) throws IOException { FOMWriterOptions opts = new FOMWriterOptions(); opts.setCharset(event.getEncoding()); e.writeTo(out, opts); } }; } else
424344454647484950515253
return new OutputHandler() { public void write(MuleEvent event, OutputStream out) throws IOException { FOMWriterOptions opts = new FOMWriterOptions(); opts.setCharset(event.getEncoding()); e.writeTo(out, opts); } }; } catch (Exception e)
192193194195196197198199200201202203
final Entry e = entry; return new OutputHandler() { public void write(MuleEvent event, OutputStream out) throws IOException { FOMWriterOptions opts = new FOMWriterOptions(); opts.setCharset(message.getEncoding()); e.writeTo(out, opts); } }; } else
383940414243444546474849