[ 
https://issues.apache.org/jira/browse/CAMEL-14345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17006858#comment-17006858
 ] 

Claus Ibsen commented on CAMEL-14345:
-------------------------------------

So what we can/should do is to make it possible to know from the endpoint 
whether it has singleton producers/consumers or not. 

> 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)

Reply via email to