Skip to content

Commit d7bc69f

Browse files
authored
Merge pull request #44 from JuliaComputing/tan/misc
add missing send_confirm_select method
2 parents 28c343c + ed36f9f commit d7bc69f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ uuid = "79c8b4cd-a41a-55fa-907c-fab5288e1383"
33
keywords = ["amqpclient", "rabbitmq", "amqp", "amqp-client", "message-queue"]
44
license = "MIT"
55
desc = "A Julia AMQP (Advanced Message Queuing Protocol) / RabbitMQ Client."
6-
version = "0.4.1"
6+
version = "0.4.2"
77

88
[deps]
99
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"

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)