various refinements to the jms integration based on some improvements
submitted for 2.7.14