Package com.github.fridujo.rabbitmq.mock
Class ConfirmListenerWrapper
- java.lang.Object
-
- com.github.fridujo.rabbitmq.mock.ConfirmListenerWrapper
-
- All Implemented Interfaces:
com.rabbitmq.client.ConfirmListener
public class ConfirmListenerWrapper extends Object implements com.rabbitmq.client.ConfirmListener
-
-
Constructor Summary
Constructors Constructor Description ConfirmListenerWrapper(com.rabbitmq.client.ConfirmCallback ackCallback, com.rabbitmq.client.ConfirmCallback nackCallback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleAck(long deliveryTag, boolean multiple)voidhandleNack(long deliveryTag, boolean multiple)
-
-
-
Method Detail
-
handleAck
public void handleAck(long deliveryTag, boolean multiple) throws IOException- Specified by:
handleAckin interfacecom.rabbitmq.client.ConfirmListener- Throws:
IOException
-
handleNack
public void handleNack(long deliveryTag, boolean multiple) throws IOException- Specified by:
handleNackin interfacecom.rabbitmq.client.ConfirmListener- Throws:
IOException
-
-