You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2008/11/18 15:43:44 UTC
[jira] Resolved: (CXF-1918) AttachmentUtil creates randomUUID for
each attachment
[ https://issues.apache.org/jira/browse/CXF-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-1918.
------------------------------
Resolution: Fixed
Fix Version/s: 2.1.4
2.0.10
> 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
> Assignee: Daniel Kulp
> Priority: Minor
> Fix For: 2.0.10, 2.1.4
>
> Attachments: AttachmentUtil.patch
>
>
> 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.