public void handleMessage(Message message) {
List<Attachment> attachmentList = new ArrayList<Attachment>();
MessageExchange exchange = message.get(MessageExchange.class);
NormalizedMessageImpl norMessage =
(NormalizedMessageImpl) exchange.getMessage("in");
Iterator<String> iter = norMessage.listAttachments();
while (iter.hasNext()) {
String id = iter.next();
DataHandler dh = norMessage.getAttachment(id);
attachmentList.add(new AttachmentImpl(id, dh));
}