[rabbitmq-discuss] erlang client problem?

Matthew Sackman matthew at rabbitmq.com
Thu Jun 16 10:32:45 BST 2011

On Thu, Jun 16, 2011 at 02:13:14PM +0800, yaohui wrote:
>  loop(Channel,Publish)->
>         io:format("Sending......~n"),
>         Status = amqp_channel:cast(Channel, Publish, #amqp_msg{payload = <<"test">>}),

Cast doesn't care whether or not the destination process (the channel in
this case) exists or has died. Your best bet is to monitor or link to
the channel after creating in, and then you'll be informed when it dies.


More information about the rabbitmq-discuss mailing list