I am losing message when i used
1. jms:message-driven-channel-adapter - consumer to receive the message to get acknowldge sent my producer
2. Reading channel and converting message into Message<T> with the help of Service Activator.
3. Writing Message<T> to output channel and send to Dao layer to invoke insert method with the help of jdbcTemplate.update(update_sql,"ACK",ID)
So in this way i loose some message.
Please suggest me what needs to be done. I am suspecting there is no transactional here.
Thinking to implement :-
1. @Transaction for insert method
2. Make jdbc template set to session-transacted to true
Spring Integration 2.2.6 i am using.