InputStream in = content.getInputStream();
if (in == null) {
throw new JBIException("No input available for file!");
}
RobustInOnly exchange = getExchangeFactory().createRobustInOnlyExchange();
NormalizedMessage message = exchange.createMessage();
exchange.setInMessage(message);
marshaler.readMessage(exchange, message, in, name);
getDeliveryChannel().sendSync(exchange);
in.close();
content.close();