activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From garima015 <garima_ind...@rediffmail.com>
Subject Re: [Spam: 5.0] Connection pooling
Date Fri, 16 Mar 2007 14:21:04 GMT

Can u tell me please how can i pool consumers , producers and session too..
can u tell me the url where i can find some sample code for this.


bsnyder wrote:
> 
> On 3/15/07, garima015 <garima_indiya@rediffmail.com> wrote:
>>
>> Hi,
>>
>> Can anyone give me some idea on how i can implement the activemq
>> connection
>> pooling.
>> I tried using this code
>> PooledConnectionFactory connectionFactory = new
>> PooledConnectionFactory(ipAddress);
>>
>> and then setting up the number of connections.But when i ran it i got
>> this
>> error.
>> java.lang.NoClassDefFoundError: org/apache/commons/pool/ObjectPoolFactory
>>
>> I am using activemq 4.0.2 jar
>> Can someobne plz help
> 
> You need to include the commons-pool 1.2 JAR in your project.
> 
> Bruce
> -- 
> perl -e 'print
> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
> 
> Apache Geronimo - http://geronimo.apache.org/
> Apache ActiveMQ - http://activemq.org/
> Apache ServiceMix - http://servicemix.org/
> Castor - http://castor.org/
> 
> 

-- 
View this message in context: http://www.nabble.com/Connection-pooling-tf3410751s2354.html#a9515439
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message