garima015 wrote:
> 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 <[EMAIL PROTECTED]> 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)[EMAIL PROTECTED]&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/
>>
>>
>
Can you please stop asking very basic questions with very available
answers? There is a wiki full of documentation. If you get exceptions,
read them, google, and figure them out. When you can't, ask a good
question in an intelligent way and you'll have much better success with
getting help.
http://www.google.com/search?q=pooling+activemq+consumers
--
Christopher G. Stach II