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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • 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

            ffang Freeman Yue Fang
            ffang Freeman Yue Fang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: