AttachmentUtil creates randomUUID for each attachment
-----------------------------------------------------
Key: CXF-1918
URL: https://issues.apache.org/jira/browse/CXF-1918
Project: CXF
Issue Type: Improvement
Components: Core
Affects Versions: 2.0.7
Environment: Windows XP, Java SE 1.6
Reporter: Mayank Mishra
Priority: Minor
A Universally Unique ID is being created for each attachment for the message.
If in case MIME Spec doesn't restrict to have an universally unique id, a
sequential counter can be used to provide unique identifiers for different
attachments in a message.
Or we can create a single UUID for a message and can reuse the UUID by
appending a counter to it for each attachment.
This will save a substaintial time as UUID.randomUUID() is a very heavy call.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.