[
https://issues.apache.org/jira/browse/CAMEL-14345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17006856#comment-17006856
]
Claus Ibsen commented on CAMEL-14345:
-------------------------------------
There are 4 producers that are not singleton
- avro
- ftp
- mina
- ssh
> camel-core - Optimize SendProcessor to not use ProducerCache when not needed
> ----------------------------------------------------------------------------
>
> Key: CAMEL-14345
> URL: https://issues.apache.org/jira/browse/CAMEL-14345
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.1.0
>
>
> Its optmized already, but it has the overhead of creating a producer cache
> with a single pool for creating a singleton producer (99% use-cases).
> Instead we can create the producer directly and only use a producer cache
> when needed (eg do to pooling ala camel-ftp)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)