On 13/11/2013 11:27, Maarten Winkels wrote:
Hi,
Connector instances can be pooled.
Can I configure the maximum number of instances in a pool?
Hi Maarten,
currently there is no support for configuring ConnId connector pooling:
connectors are instantiated in ConnectorFacadeProxy [1] (around line 126):
connector =
ConnectorFacadeFactory.getInstance().newInstance(apiConfig);
where apiConfig - the object carrying pooling information - is just the
default configuration.
Pooling can be configured differently for each connector bundle - it is
actually an optional feature, so there could be bundles not supporting
it - so this information should become part of Syncope's ConnInstance
entities.
This sounds like a nice improvement: I've opened SYNCOPE-438 for this
purpose.
Regards.
[1]
https://svn.apache.org/repos/asf/syncope/branches/1_1_X/core/src/main/java/org/apache/syncope/core/propagation/impl/ConnectorFacadeProxy.java
[2] https://issues.apache.org/jira/browse/SYNCOPE-438
--
Francesco Chicchiriccò
Tirasa - Open Source Excellence
http://www.tirasa.net/
ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/