The Camel Message APIs seem to be missing getter/setter for attachment
metadata.  For example, Message.getAttachment(String id) returns a
DataHandler so we can't get per attachment metadata.  Do you have any
thought to expand the APIs to support per attachment metadata?   For
example, we could add a method Message.getAttachmentEx(String id) to
return an Attachment interface (which has getDataHandler() and
getHeader/s() methods)?  Could you think of better method names?  And,
we probably should @depreciate the old methods.

Thanks,
William

Reply via email to