camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Tam <>
Subject attachment headers?
Date Mon, 26 Oct 2009 20:54:02 GMT
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.


View raw message