Hi,
is there any way to configure the ProducerServicePool in a Spring Camel
Context? The problem is that I want to reduce the number of cached
producers.
I tried something like this:
...
<camel:camelContext id="camelContext" trace="false">
<camel:properties>
<camel:property key="serviceProducerPool"
value="#producerPool"/>
</camel:properties>
<camel:jmxAgent id="agent"
disabled="false"
createConnector="true"
registryPort="1099"
connectorPort="1100"/>
<camel:routeBuilder ref="myRouteBuilder" />
<camel:routeBuilder ref="myOtherRouteBuilder" />
</camel:camelContext>
<bean id="producerPool"
class="org.apache.camel.impl.DefaultProducerServicePool">
<constructor-arg value="3"/>
</bean>
...
but apparently it seemed to have no effect.
Any hints or workaournds?
thanks
Christian
--
View this message in context:
http://old.nabble.com/Setting-ProducerServicePool-in-Spring-Camel-Context-tp28085498p28085498.html
Sent from the Camel - Users mailing list archive at Nabble.com.