Permalink
Browse files

WHISTLE-1311: round-robin requests

  • Loading branch information...
1 parent c885ed0 commit 9e76564ff0df5704b32014db93a69fb36ae84ee5 @k-anderson k-anderson committed Jun 26, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 whistle_apps/apps/jonny5/src/jonny5_listener.erl
@@ -32,9 +32,9 @@
,{authz, []}
,{self, []}
]).
--define(QUEUE_NAME, <<>>).
--define(QUEUE_OPTIONS, []).
--define(CONSUME_OPTIONS, []).
+-define(QUEUE_NAME, <<"jonny5_listener">>).
+-define(QUEUE_OPTIONS, [{exclusive, false}]).
+-define(CONSUME_OPTIONS, [{exclusive, false}]).
-define(SERVER, ?MODULE).
@@ -55,6 +55,7 @@ start_link() ->
,{queue_name, ?QUEUE_NAME}
,{queue_options, ?QUEUE_OPTIONS}
,{consume_options, ?CONSUME_OPTIONS}
+ ,{basic_qos, 1}
], []).
%%%===================================================================

0 comments on commit 9e76564

Please sign in to comment.