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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handle(Connection connection, IOException exception)
Called when writing to the socket failed
-
-
-
Method Detail
-
handle
void handle(Connection connection, IOException exception) throws IOException
Called when writing to the socket failed- Parameters:
connection
- the owning connection instanceexception
- the thrown exception- Throws:
IOException
-
-