pma/amqp

where to find documentation

Choongkyu opened this issue · 3 comments

Hello. I was reviewing the README, namely this part:

When a channel is down and reconnected, you have to make sure your consumer subscribes to a channel again.

See the documentation for AMQP.Application.get_connection/1 and AMQP.Application.get_channel/1 for more details.

I was wondering where I might be able to find documentation around this, since I'd like to find an idiomatic way to retry connecting without having connected once before in an environment where docker-compose would run a server container before the rabbitmq container is ready. Thank you!

ono commented

If you read the README in hex doc, they actually have hyper links: https://hexdocs.pm/amqp/readme.html#configuration

ono commented

I just made a little tweak on the sample code there: 20b20a9