Skip to content

Commit

Permalink
Merge ed36f9f into 28c343c
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmaykm committed May 7, 2021
2 parents 28c343c + ed36f9f commit 792a736
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Expand Up @@ -3,7 +3,7 @@ uuid = "79c8b4cd-a41a-55fa-907c-fab5288e1383"
keywords = ["amqpclient", "rabbitmq", "amqp", "amqp-client", "message-queue"]
license = "MIT"
desc = "A Julia AMQP (Advanced Message Queuing Protocol) / RabbitMQ Client."
version = "0.4.1"
version = "0.4.2"

[deps]
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
Expand Down
4 changes: 3 additions & 1 deletion src/protocol.jl
Expand Up @@ -938,10 +938,12 @@ end

function confirm_select(chan::MessageChannel; nowait::Bool=false, timeout::Int=DEFAULT_TIMEOUT)
_wait_resp(chan, true, nowait, on_confirm_select_ok, :Confirm, :SelectOk, false, timeout) do
send_confirm_select(chan, nowait)
send_confirm_select(chan)
end
end

send_confirm_select(chan::MessageChannel) = send(chan, TAMQPMethodPayload(:Confirm, :Select, ()))

# ----------------------------------------
# Confirm end
# ----------------------------------------
Expand Down

0 comments on commit 792a736

Please sign in to comment.