<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>You need to put the channel in confirm mode before publishing, like so:</div><div><br></div><div><div> #'confirm.select_ok'{} = amqp_channel:call(Channel, #'confirm.select'{}), etc().....</div></div><div><br></div><div>Cheers,</div><div>Tim</div><div><br><div><div>On 10 Jun 2013, at 19:21, Eoin McCarthy wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi, <div><br></div><div>Not sure if this is the best place to ask for help - but it's the forum mentioned on the Rabbit webpage - so I figured I'd give it a go. </div><div><br></div><div>I'm a Rabbit newbie and using Erlang (which is also fairly new for me) to write my clients. That aside, my publisher code is writing messages to the specified queue. </div><div>I can see the messages arriving in the queue via the Rabbit management console and an Erlang-based consumer is also picking up the messages are they arrive in the queue. </div><div><br></div><div>However, I don't seem to be able to get publisher confirms working. I registered a confirm handler callback process and it's rigged to forward a message back to the parent process when it receives anything.</div><div>Gist is here: <a href="https://gist.github.com/eoinmc/5750876">https://gist.github.com/eoinmc/5750876</a></div><div>It's not a real-world example - I'm just trying to figure out how to activate and see a publisher confirm using the Erlang client. So far with no success. </div><div>The client docs are here: <a href="http://www.rabbitmq.com/releases/rabbitmq-erlang-client/v3.0.4/doc/">http://www.rabbitmq.com/releases/rabbitmq-erlang-client/v3.0.4/doc/</a></div><div><br></div><div>Any suggestions (including pointing out of obvious mistakes) appreciated. </div><div><br></div><div>Eoin</div>_______________________________________________<br>rabbitmq-discuss mailing list<br><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss<br></blockquote></div><br></div></body></html>