Skip to content

Commit 3dc3a78

Browse files
author
Alexandru Scvortov
committed
expose multiple in AckListener
1 parent 0cc9726 commit 3dc3a78

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/com/rabbitmq/client/AckListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@
3838
* events.
3939
*/
4040
public interface AckListener {
41-
void handleAck(long sequenceNumber)
41+
void handleAck(long deliveryTag, boolean multiple)
4242
throws IOException;
4343
}

src/com/rabbitmq/client/impl/ChannelN.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ public void releaseChannelNumber() {
334334
AckListener l = getAckListener();
335335
if (l != null) {
336336
try {
337-
l.handleAck(ack.getDeliveryTag());
337+
l.handleAck(ack.getDeliveryTag(), ack.getMultiple());
338338
} catch (Throwable ex) {
339339
_connection.getExceptionHandler().handleAckListenerException(this, ex);
340340
}

0 commit comments

Comments
 (0)