MimeMessage mailMsg = (MimeMessage) folder.getMessage(i);
InOnly io = mef.createInOnlyExchange();
NormalizedMessage normalizedMessage = io.createMessage();
this.marshaler.prepareExchange(io,normalizedMessage,mailMsg);
io.setInMessage(normalizedMessage);
channel.send(io);
mailMsg.setFlag(Flags.Flag.DELETED,true);
}
} finally {
try {
if (folder != null) {