Nicola Ferraro created QPIDJMS-353:
--------------------------------------

             Summary: Add pooled connection factory
                 Key: QPIDJMS-353
                 URL: https://issues.apache.org/jira/browse/QPIDJMS-353
             Project: Qpid JMS
          Issue Type: Improvement
          Components: qpid-jms-client
    Affects Versions: 0.28.0
            Reporter: Nicola Ferraro


A pooled connection factory was present in the amqp 0.x version of the library, 
but is missing in the current one.

I've done some tests with Apache Camel (camel-amqp) and every message sent to a 
queue results into a new connection.

A (always increasing) progressive number and a message about Sasl 
authentication is printed for every message. I suspect this is a waste of 
performance.

Do you plan to add this feature?

Relevant parts of the stack trace:
{code}
10:13:03.161 [AmqpProvider :(3):[amqp://localhost:5672]] INFO  
o.a.q.jms.sasl.SaslMechanismFinder - Best match for SASL auth was: SASL-PLAIN
10:13:03.201 [AmqpProvider :(3):[amqp://localhost:5672]] INFO  
org.apache.qpid.jms.JmsConnection - Connection 
ID:94d6f8bf-886f-46b2-8eff-af09f03dd46c:1 connected to remote Broker: 
amqp://localhost:5672
10:13:03.240 [AmqpProvider :(4):[amqp://localhost:5672]] INFO  
o.a.q.jms.sasl.SaslMechanismFinder - Best match for SASL auth was: SASL-PLAIN
10:13:03.255 [AmqpProvider :(4):[amqp://localhost:5672]] INFO  
org.apache.qpid.jms.JmsConnection - Connection 
ID:946b64b6-dbc3-4ce7-b178-55de6759c26b:2 connected to remote Broker: 
amqp://localhost:5672
10:13:06.143 [AmqpProvider :(5):[amqp://localhost:5672]] INFO  
o.a.q.jms.sasl.SaslMechanismFinder - Best match for SASL auth was: SASL-PLAIN
10:13:06.181 [AmqpProvider :(5):[amqp://localhost:5672]] INFO  
org.apache.qpid.jms.JmsConnection - Connection 
ID:89593ca0-a185-4e51-80ef-bb6bf3dfbbbd:3 connected to remote Broker: 
amqp://localhost:5672
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to