Looking for suggestions as to where and how it could be best to wrap any
connections from AMQ.
We need to do this in order to ensure we can kill connections on a
server shutdown.
Basically anywhere this gets injected there needs to be a wrapper
returned in it's place.
public interface ConnectionFactory {
Connection createConnection() throws JMSException;
Connection createConnection(String userName, String password)
throws JMSException;
}
Looking at JndiRequestHandler, but not sure this is the right place.
Thanks for your help.
Andy.
--
Andy Gumbrecht
https://twitter.com/AndyGeeDe
http://www.tomitribe.com