[
https://issues.apache.org/jira/browse/CAMEL-4597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13140151#comment-13140151
]
Willem Jiang commented on CAMEL-4597:
-------------------------------------
As the producer can be used in multi-thread, please make sure the process
method of the producer can be reentered.
> 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