Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Currently, if we get any io exception while sending a message, SimpleProducer reestablishes the socket connection without resending the message. Thus the message is lost.
One way to fix this is to only reset socket channel to null when there is io exception during send and throw the exception back to the caller. The caller can capture the exception and resend the message.