Remove duplicates
Add JmsTemplate support and sending messages.