Sample RabbitMQ consumer in Elixir. Usage Make sure that the RabbitMQ server is running. Start the application $ iex -S mix Publish some messages iex> Sample.test(10)