Effective October 27, 2012, online and email support for FuseSource products will move to Red Hat support channels. For more information, please see the JIRA Migration to Red Hat FAQ.
As of October 27th, please open all new issues in the Red Hat Customer Portal .
Issue Details (XML | Word | Printable)

Key: ESB-1178
Type: Bug Bug
Status: Resolved Resolved
Resolution: Resolved at Apache
Priority: Major Major
Assignee: Stan Lewis
Reporter: Stan Lewis
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
FUSE ESB

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

Created: 12/Apr/10 01:35 PM   Updated: 15/Apr/10 03:03 PM
Component/s: None
Affects Version/s: 4.2.0-fuse-01-00
Fix Version/s: 4.2.0-fuse-02-00

External Issue URL: https://issues.apache.org/activemq/browse/SMX4-516


 Description  « Hide
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.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.