I am using:
- openshift
- AMQ (seems to be a forked activemq-5.11.0.redhat...... version)
- EAP 7.2.3
- While local debugging I get as Connection some ~ConnectionProxy with a physical ActiveMQManagedConnection
Can I use "try-with-resources"?
I am not sure and think no ... because ActiveMQManagedConnection 5.11.0 (I dont know what redhat has changed) doesnt implement Autoclosable. Neither does the implemented javax.resource.spi.ManagedConnection
I havent found the source of this EAP ConnectionProxy. Maybe it has Autoclosable.