Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-1918

AttachmentUtil creates randomUUID for each attachment

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.7
    • 2.0.10, 2.1.4
    • Core
    • None
    • Windows XP, Java SE 1.6

    Description

      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.

      Attachments

        1. AttachmentUtil.patch
          0.8 kB
          Mayank Mishra

        Activity

          People

            dkulp Daniel Kulp
            mayank.mishra Mayank Mishra
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: