Added comments, split JMS client out from the JMS action