Fixes for mq-2251

fixes #2251 
Added message TTL and JMS message groups