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

Claus Ibsen commented on CAMEL-4597:
------------------------------------

MinaProducer is pooled using ServicePoolAware, see the interface it implements.
So we cached the on the producer level.

But a dedicated session cache would possible be nice, if the MinaProducer could 
become stateless then.
                
> Mina producer should support session pooling
> --------------------------------------------
>
>                 Key: CAMEL-4597
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4597
>             Project: Camel
>          Issue Type: Improvement
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>
> Currently, the Mina producer is using a single connection/session in order 
> send messages. It would be a great improvement to provide session pooling. 
> Here are some benefits:
> a) Sending exchanges in parallel through different connections/sessions. 
> b) Decrease the time required to create new connections.
> c) Provides mean to the user of custom session initialization, destruction 
> (login, logout & keepAlive possible through object factories).
> d) Open the way to providing windowing capabilities (send out multiple 
> requests, before getting a response).
> This might also make sense for netty too (not sure haven't ever used netty).
>   

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to