Package com.rabbitmq.client.impl
Interface ErrorOnWriteListener
public interface ErrorOnWriteListener
Listener called when a connection gets an IO error trying to write on the socket.
This can be used to trigger connection recovery.
- Since:
- 4.5.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(Connection connection, IOException exception) Called when writing to the socket failed
-
Method Details
-
handle
Called when writing to the socket failed- Parameters:
connection
- the owning connection instanceexception
- the thrown exception- Throws:
IOException
-