[
https://issues.apache.org/jira/browse/CAMEL-13678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16879918#comment-16879918
]
Claus Ibsen commented on CAMEL-13678:
-------------------------------------
Okay working on a camel-attachments where all of the javax.activation based
attachments are. Then the few components that support this API can add
dependency on camel-attachments, and use the AttachmentsMessage API to work
with attachments.
There will be migration from Camel 2 to Camel 3, but that is not very much
{code}
AttachmentMessage m = exchange.getIn(AttachmentMessage.class);
{code}
> Attachments API on Message - Deprecate and remove
> -------------------------------------------------
>
> Key: CAMEL-13678
> URL: https://issues.apache.org/jira/browse/CAMEL-13678
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.0.0, 3.0.0.M5
>
>
> We should consider making the Camel Message API more simpler and remove stuff
> that are seldom in use, or can be component specific.
> The javax.attachment is removed from JDK11 onwards and its not really much in
> use in the future.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)