I have enabled non-blocking ANPQ notifications on all system events (vCloud Director 5.1), when I run Test AMQP Connection, answer is AMQP connection succeeded. Tasks are being blocked, but I get no email notification.
When I check with RabbitMQ Server Ready=0, Unacknowledged=0, Total=0
What am I missing
vCloud Director doesn't send email notifications when tasks are blocked - it sends AMQP notifications - you have to monitor them from there.
You cannot control which non-blocking notifications you will receive - you can enable or disable all of them at once - but you can control the blocking tasks.
Make sure that you are monitoring the right queue bound to the right exchange (systemExchange by default) - may be this is the problem.
To consume messages in vCO from AMQP server there is a plug-in that you have to install: it is called AMQP Plug-in.
How to install, configure and consume messages you can found on this link: http://www.vcoteam.info/learn-vco/configure-the-amqp-plug-in.html
If you want to sent email using vCO. I would advice you to watch this video: http://www.vcoteam.info/learn-vco/developing-your-first-vmware-vco-workflow-video-series.html. Where there is a video, how you can do it.
Hope this helps!