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

Claus Ibsen commented on CAMEL-16094:
-------------------------------------

Philipp, you are welcome to start. 

Yeah a client id is a good idea.
If the connection cannot be used concurrently, then we would need to use 
commons-pool which can handle the pooling, otherwise if the connection can be 
used by multiple threads then its fine as-is. Usually a connection factory may 
allow to reuse concurrently a connection, but not something in the form of a 
client session. Not sure what the concepts are with milo

> camel-milo - Add ConnectionFactory SPI
> --------------------------------------
>
>                 Key: CAMEL-16094
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16094
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-milo
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 3.x
>
>
> Add an SPI interface to plugin a connection factory, so users can choose 
> different implementations. 
> This is what other component would do like messaging components.
> Then end users can build pooling or shared connection factories or whatnot.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to