Skip to content

Commit 47890fb

Browse files
committed
add missing send_confirm_select method
Added the missing `send_confirm_select` method. fixes: #43
1 parent 28c343c commit 47890fb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/protocol.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,10 +938,12 @@ end
938938

939939
function confirm_select(chan::MessageChannel; nowait::Bool=false, timeout::Int=DEFAULT_TIMEOUT)
940940
_wait_resp(chan, true, nowait, on_confirm_select_ok, :Confirm, :SelectOk, false, timeout) do
941-
send_confirm_select(chan, nowait)
941+
send_confirm_select(chan)
942942
end
943943
end
944944

945+
send_confirm_select(chan::MessageChannel) = send(chan, TAMQPMethodPayload(:Confirm, :Select, ()))
946+
945947
# ----------------------------------------
946948
# Confirm end
947949
# ----------------------------------------

0 commit comments

Comments
 (0)