[jboss-user] [IronJacamar] - Physically closing a set of connections

Earnest Dyke do-not-reply at jboss.com
Thu Dec 6 09:42:22 EST 2012


Earnest Dyke [https://community.jboss.org/people/earnest.dyke] created the discussion

"Physically closing a set of connections"

To view the discussion, visit: https://community.jboss.org/message/780392#780392

--------------------------------------------------------------
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
[https://community.jboss.org/message/780392#780392]

Start a new discussion in IronJacamar at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121206/05b9499d/attachment.html 


More information about the jboss-user mailing list