From 5d0fed7eb1e3f49bd1b5967e3cd857a3591c73dc Mon Sep 17 00:00:00 2001 From: Aitor Perez Cedres Date: Fri, 19 Aug 2022 13:47:37 +0100 Subject: [PATCH] Update connection capabilities Basic Nack is already supported in Channel.Nack(). Publisher confirms are supported by Channel.Publish* functions and by Channel.NotifyConfirm Signed-off-by: Aitor Perez Cedres --- connection.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/connection.go b/connection.go index 04de993..3d3f778 100644 --- a/connection.go +++ b/connection.go @@ -809,6 +809,8 @@ func (c *Connection) openTune(config Config, auth Authentication) error { config.Properties["capabilities"] = Table{ "connection.blocked": true, "consumer_cancel_notify": true, + "basic.nack": true, + "publisher_confirms": true, } ok := &connectionStartOk{