Hi Phil,

Thanks for your message.  First , how do I respond to your message. I have 
added the dev@commons.apache.org in this mail.

I am already using the keyedObjectPool, but the keyedObjectPool give me only 
one level of grouping i.e if the Key->A then I can group all the connection for 
A, but I need two levels of grouping i.e.

The ObjectManger1 will contain the connection for A,B,C... so with the existing 
implementation if I query for the Key->A then I will get the connection under 
ObjectManager1->A connection,

But my requirement is I want to have groups like ObjectManager1 with A,B,C ...  
and
                                                                                
          ObjectManaer2 with A,B,C ...
                                                                                
          ObjectManager3 with A,B,C and so on

So when I request for a connection for A, I have the option to choose the A 
from ObjectManager1, ObjectManager2, or ObjectManager3 by selecting 
ObjectManagerX.

Is this kind of implementation possible?

Regards
Krishnakumar

-----Original Message-----
From: Phil Steitz [mailto:phil.ste...@gmail.com] 
Sent: Thursday, January 28, 2016 7:10 PM
To: Krishnakumar Parasuram
Subject: Re: FW: Maintain sub pools within Commons pool - is it possible

Hi Krishnakumar,

I just moderated through and responded to this message on 
dev@commons.apache.org.

Please subscribe to the list so that you can see the responses and so that your 
posts do not require moderation.  Also, your question, while welcome, really 
belongs on the user list - u...@commons.apache.org

Welcome to Commons!

Phil

On 1/28/16 12:45 AM, Krishnakumar Parasuram wrote:
>
>  
>
>  
>
> *From:* Krishnakumar Parasuram
> *Sent:* Thursday, January 28, 2016 1:14 PM
> *To:* dev@commons.apache.org; dev-h...@commons.apache.org
> *Subject:* Maintain sub pools within Commons pool - is it possible
>
>  
>
> Hi
>
>  
>
> We are using Apache commons pool 2.2 for pooling connection object to 
> connect between our REST framework to Siebel Server.
>
>  
>
> Everything works fine for what I have implemented.  But I want to 
> enhance this framework.  The existing implementation maintains the 
> connection object for a particular group called ObjectManger1.
> Now I want to maintain the connection for multiple groups like 
> ObjectManager1, ObjectManager2 . and so on.  Is it possible to 
> implement this kind using commons pool.
>
>  
>
> I want a subpool to be maintained for each ObjectManager_x  within the 
> commons pool
>
>  
>
> Thanks and Regards
>
> Krishnakumar
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to