This seems to be the best candidate location to wrap the ConnectionFactory:

org/apache/openejb/InjectionProcessor.java:243

Adding if(ConnectionFactory.class.isInstance(value)){value = ..wrapper..}
would work here.

However, is there a way to 'event' the wrapping without too much overhead? -
I'm thinking of a more general way of saying - hey pre-injection event
listener here is an object value I am about to inject into this class, do
you want to wrap it first.

Andy.





-----
    -- 
    Andy Gumbrecht

    http://www.tomitribe.com
    agumbre...@tomitribe.com
    https://twitter.com/AndyGeeDe

    TomEE treibt Tomitribe ! | http://tomee.apache.org
--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/ActiveMQ-connection-wrapper-tp4676832p4676834.html
Sent from the TomEE Dev mailing list archive at Nabble.com.

Reply via email to