Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
Merge 29223c3 into ffe6f90
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorszun committed Nov 2, 2018
2 parents ffe6f90 + 29223c3 commit fe142d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ Optionally, you can:
* specify queue ttl with `queue_ttl` attribute
* disable deadletter setup by setting `deadletter` attribute to `false`
* define custom names for deadletter queue / exchange by specifying `deadletter_queue` / `deadletter_exchange` attributes
* create a [priority queue][priority_queues with `queue_max_priority` attribute

For all available options please check [consumer documentation][consumer_doc].

Expand Down Expand Up @@ -137,4 +138,5 @@ Copyright (c) 2018 Meltwater Inc. [http://underthehood.meltwater.com/][undertheh
[docker_compose]: https://docs.docker.com/compose/
[github_prs]: https://help.github.com/articles/about-pull-requests/
[gen_rmq_issues]: https://github.com/meltwater/gen_rmq/issues
[priority_queues]: https://www.rabbitmq.com/priority.html
[underthehood]: http://underthehood.meltwater.com/
3 changes: 2 additions & 1 deletion lib/consumer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ defmodule GenRMQ.Consumer do
reconnect: Booleam.t(),
deadletter: Boolean.t(),
deadletter_queue: String.t(),
deadletter_exchange: String.t()
deadletter_exchange: String.t(),
queue_max_priority: Integer.t()
]

@doc """
Expand Down

0 comments on commit fe142d3

Please sign in to comment.