I am attempting to modify an existing Erlang codebase that acts as a rest wrapper around rabbitmq providing some additional business logic. One of the new requirements is for the client to add a header to their request specifying if they want to use publish confirms or not. Our current implementation sets-up an exchange in a gen_server that does not use publish confirms and re-uses that exchange for all messages. Now I am trying to set-up a second exchange that does but am struggling.<div>
<br></div><div><font><span style="background-color:rgba(255,255,255,0)">Does anybody know of an example using publish confirms with Erlang client? Preferably from within a gen_server I can register as the confirm handler (self()).</span></font><br>
</div><div><font><span style="background-color:rgba(255,255,255,0)"><br></span></font></div><div><font><span style="background-color:rgba(255,255,255,0)">Best,</span></font></div><div><font><span style="background-color:rgba(255,255,255,0)">Ryan<span></span></span></font></div>
<br><br>-- <br>-rb<br>