Publisher/Consumer doesn't work
lswith opened this issue · 2 comments
lswith commented
It seems if I wish to make a worker a publisher and a consumer it fails when trying to publish.
lswith commented
I think its this call to Enum.find
https://github.com/lucacorti/lapin/blob/master/lib/lapin/channel.ex#L123. Find only returns the first which will probably always be the consumer.
lucacorti commented
That is a producer and a consumer channel configured on the same connection with the equal exchange/routing_key configuration. Good catch.