Uploaded image for project: 'FUSE ESB'
  1. FUSE ESB
  2. ESB-1442

Optimize uuid generator in ExchangeImpl.java

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: Major
    • Resolution: Resolved at Apache
    • Affects Version/s: 4.3.1-fuse-01-09
    • Fix Version/s: 4.4.0-fuse-00-27
    • Component/s: Core
    • Labels:
      None
    • Environment:

      Fuse ESB 4.3.x

      Description

      ExchangeImpl is using the standard uuid generator.

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

      This is suboptimal, due to inherent locking/synchronization limitations with the default impl. This enhancement is to switch to a more optimized version.

      Similar issue was discussed in CAMEL-3139.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ffang Freeman(Yue) Fang
                Reporter:
                davestanley Dave Stanley
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: