title: TCP messages - Durable and fast solution tips?
body: <p>We use Spring integration for TCP socket communication with the hardware.
  The client would be sending a sequence number to uniquely identify a message. 
  My requirement is to store these sequence numbers part of the socket message and validate them for non repetitive sequence numbers. 
  I went thru IdempotentReceiver, sounds like what i wanted. 
  But I need a durable and faster mechanism to store it, before unexpected shutdown of service and use the in memory cache for retrieving the latest sequence number.</p>
  
  <p>Thank you in advance.!</p>