JBTM-2010 Updated to use nio for stompconnect