JMS Changes

Changes on send() and connect();
Merge pull request #1 from jmcalves275/master

JMS Changes