JBoss Community

Physically closing a set of connections

created by Earnest Dyke in IronJacamar - View the full discussion

Greetings all,

 

I am still working on my JCA and I have been presented with a new requirement that I am not sure how to handle.

 

As it stands now, my JCA can create connections to 1 of 8 physical servers and on any given server the connection can be associated with a given "account". I have this working by implementing a ConnectionRequestInfo class that identifies a host and account. Works great!

 

Now our ops people want me to provide them with a method of physically closing all of the connections to a given physical server. So I would need access to a list of connections in a pool through which I could loop looking for matching connections based on host name, then physically close each matching connection. I have looked through the spec and the Ironjacamar code and I cannot find any methods that would seem to help.

 

Anyone have any ideas?

 

Thanks in advance for any and all relevant responses!

 

Earnie!

Reply to this message by going to Community

Start a new discussion in IronJacamar at Community