`ZmqConnection.close` should be a no-op
shs96c opened this issue · comments
Simon Stewart commented
javax.jms.Connection
is AutoCloseable
, so expected usage is in a try-with-resources block. This automatically calls close
when leaving the block. The current implementation of ZmqConnection.close
throws an UnsupportedOperationException
. Making this a no-op (and potentially logging the problem?) would allow the expected JMS usage to work.
Jeremy Miller commented
Fixed in release 3.0