You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (Reopened) (JIRA)" <de...@uima.apache.org> on 2011/10/07 19:11:29 UTC

[jira] [Reopened] (UIMA-1435) UIMA AS client creates too many JMS connections to a broker

     [ https://issues.apache.org/jira/browse/UIMA-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jerry Cwiklik reopened UIMA-1435:
---------------------------------


The optimization implemented here should be parametrized to allow deployment of multiple UIMA AS clients in the same jvm, each connecting to a different broker. Current code does not allow it.
                
> UIMA AS client creates too many JMS connections to a broker
> -----------------------------------------------------------
>
>                 Key: UIMA-1435
>                 URL: https://issues.apache.org/jira/browse/UIMA-1435
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>             Fix For: 2.3AS
>
>
> Currently, a JMS Connection is created for every instance of UIMA AS client. When scaling UIMA AS client in the same JVM, this results in many connections to the same Broker. As optimization, the first instance of UIMA AS client should create a single connection to the broker and store it in a static data structure. Subsequent UIMA AS client instances should reuse the connection to create JMS sessions. The connection will be closed when all client instances call stop() method. 

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