open static fun closeMessageProducer(@Nullable producer: MessageProducer): Unit
Close the given JMS MessageProducer and ignore any thrown exception. This is useful for typical finally blocks in manual JMS code.
finally
producer - the JMS MessageProducer to close (may be null)
producer
null