[rabbitmq-discuss] Can't process_flag(trap_exit, true) in process

Liuzhuofu liuzhuofu at huawei.com
Fri Feb 10 08:22:10 GMT 2012


Hi all:
I found a strange thing:
I create a connection and channel in process 1, and subscribe a queue with process 2, which created by "spawn_link" in process 1, if I run "process_flag(trap_exit, true)" in process 1, the process 2 will receive a 'basic.cancel' message for the subscribe queue. If I don't run "process_flag(trap_exit, true)" in process 1,  the process 2 will never receive that.
Why ?

Regards,
  David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120210/90857a0c/attachment.htm>


More information about the rabbitmq-discuss mailing list