protected void populateExchange(MessageExchange exchange, Source src, MessageContext ctx) throws JBIException {
protected void populateExchange(MessageExchange exchange, Source src, MessageContext ctx) throws Exception {
    protected void populateExchange(MessageExchange exchange, Source src, MessageContext ctx) throws JBIException {        // TODO: Retrieve properties        NormalizedMessage inMessage = exchange.createMessage();        inMessage.setContent(src);        Attachments attachments = (Attachments) ctx.getProperty(Attachments.ATTACHMENTS_KEY);        if (attachments != null) {            for (Iterator it = attachments.getParts(); it.hasNext();) {                Attachment part = (Attachment) it.next();                inMessage.addAttachment(part.getId(), part.getDataHandler());            }        }        exchange.setMessage(inMessage, "in");    }