FUSE ESB
  1. FUSE ESB
  2. ESB-1442

Optimize uuid generator in ExchangeImpl.java

    Details

    • Type: Enhancement Enhancement
    • Status: Resolved Resolved
    • Priority: Major 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
    • Similar Issues:
      Show 9 results 

      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.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: