Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

RabbitMQ server no longer supports "immediate" deliveries

  • Loading branch information...
commit 6d05e5e570e108284bf80478403a6f882e109c6a 1 parent 6bbbc91
Tony Garnock-Jones authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/rabbithub_web.erl
4 src/rabbithub_web.erl
View
@@ -483,7 +483,7 @@ extract_message(ExchangeResource, ParsedQuery, Req) ->
perform_request('POST', endpoint, '', exchange, Resource, ParsedQuery, Req) ->
Msg = extract_message(Resource, ParsedQuery, Req),
- Delivery = rabbit_basic:delivery(false, false, Msg, none),
+ Delivery = rabbit_basic:delivery(false, Msg, none),
case rabbit_basic:publish(Delivery) of
{ok, _, _} ->
Req:respond({202, [], []});
@@ -493,7 +493,7 @@ perform_request('POST', endpoint, '', exchange, Resource, ParsedQuery, Req) ->
perform_request('POST', endpoint, '', queue, Resource, ParsedQuery, Req) ->
Msg = extract_message(rabbithub:r(exchange, ""), ParsedQuery, Req),
- Delivery = rabbit_basic:delivery(false, false, Msg, none),
+ Delivery = rabbit_basic:delivery(false, Msg, none),
case rabbit_amqqueue:lookup([Resource]) of
[Queue] ->
{routed, _} = rabbit_amqqueue:deliver([Queue], Delivery),
Please sign in to comment.
Something went wrong with that request. Please try again.