Added setting of message TTL
Added JMS groupid
Fixed NPE