activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clebert Suconic <clebert.suco...@gmail.com>
Subject Re: Apache Artemis pooling
Date Wed, 17 Feb 2016 23:40:30 GMT
>> Is there anything equivalent of org.apache.activemq.pool.PooledConnectionFactory in
Artemis?

not **yet** :) (accepting contributions though :P )


That wiki page is generic really. Creating / deleting connections on
any technology is an expensive process that will create a socket,
require a round trip TCP-IP communication, beyond the Java POJOs
itself that will need to be stored to support the connection.


It makes sense to cache it.. for the Jetty case it makes perfect sense
to implement the artemis-pool.


On Wed, Feb 17, 2016 at 2:52 PM, abhijith <topcoderabhijith@gmail.com> wrote:
> Hi,
>
> I am new to Apache artemis and was looking to pool jms related objects for
> producer and consumer.  We are using embedded Jetty container and do not
> really want to go JCA route.  Is there anything equivalent of
> org.apache.activemq.pool.PooledConnectionFactory in Artemis?
>
> I searched through codebase and examples, but could not find any standard
> way.  Only example I could find is given below and this is using
> PooledConnectionFactory from activemq directly.
> tests/activemq5-unit-tests/src/test/java/org/apache/activemq/pool/JmsSendReceiveTwoConnectionsWithSenderUsingPoolTest.java
>
> I read below documentation on HornetQ:
> https://developer.jboss.org/wiki/ShouldIcacheJMSconnectionsandJMSsessions.
>
> Does the same semantics apply for Artemis as well?  Any help is greatly
> appreciated.
>
> Thanks
> Abhi
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Apache-Artemis-pooling-tp4707663.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.



-- 
Clebert Suconic

Mime
View raw message