Uploaded image for project: 'ServiceMix NMR'
  1. ServiceMix NMR
  2. SMX4NMR-270

Use ActiveMQUuidGenerator as the default uuid generator as its faster than the JDK UUID generator

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Labels:
      None

      Description

      we have such code
      public ExchangeImpl(Pattern pattern)

      { this.id = UUID.randomUUID().toString(); this.status = Status.Active; this.role = Role.Consumer; this.pattern = pattern; }

      but UUID.randomUUID() is a well-known source of synchronization bottlenecks. we should use ActiveMQUuidGenerator for better performance.

        Attachments

          Activity

            People

            • Assignee:
              ffang Freeman Fang
              Reporter:
              ffang Freeman Fang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: