FUSE ESB
  1. FUSE ESB
  2. ESB-1178

The camel-nmr ServiceMixProducer creates a new Channel per-exchange, also doesn't close it.

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Resolved at Apache
    • Affects Version/s: 4.2.0-fuse-01-00
    • Fix Version/s: 4.2.0-fuse-02-00
    • Component/s: None
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      In ServiceMixProducer.java we create a Channel for each exchange passed into process(). Under the covers this will cause a new thread pool to be created, as when you create a Channel that creates a new Executor instance, have a look in ServiceMixImpl.createChannel() in the NMR.

      Instead this component should just create the Channel once and re-use it for subsequent exchanges.

      Also ServiceMixProducer doesn't properly close the Channel it's creating which may lead to leaking resources.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Stan Lewis
            Reporter:
            Stan Lewis
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: