[
https://issues.apache.org/jira/browse/CAMEL-13678?focusedWorklogId=273525&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-273525
]
ASF GitHub Bot logged work on CAMEL-13678:
------------------------------------------
Author: ASF GitHub Bot
Created on: 08/Jul/19 20:30
Start Date: 08/Jul/19 20:30
Worklog Time Spent: 10m
Work Description: davsclaus commented on pull request #3028: CAMEL-13678
- Move attachments API out of camel-core
URL: https://github.com/apache/camel/pull/3028
I have now migrated the components and we dont rely on attachments api for
camel-core. There is a new camel-attachments JAR that has this logic. This also
makes using Camel on JDK9+ onwards easier as you dont have to add attachments
JAR because it was not in the JDK anymore and camel-core required it - now its
just like any component with transitive dependencies via camel-attachments.
This reduces the number of JARs and classes as camel-core no longer uses
javax.activation always, but you only use it when really needed in the few
components that uses it.
Its also deprecated from the JDK and moved to Jakarta EE where they can
maintain it in the future, but its good to not have it tied to camel-core
anymore.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 273525)
Time Spent: 10m
Remaining Estimate: 0h
> 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
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)