OracleQueue Events never fire

OracleQueue Events never fire

Postby jtoland » Mon 16 Jan 2017 20:02

I'm using the provided examples and cant get the onMessage events to ever fire. I'm using Oracle
Posts: 1
Joined: Mon 16 Jan 2017 19:57

Re: OracleQueue Events never fire

Postby Pinturiccio » Tue 17 Jan 2017 15:04

The OnMessage event fires only if the AsyncNotification property is true. For more information, please refer to

Additionally, it’s recommended to put the thread to sleep for a short time after the Enqueue method call in order to let the OnMessage event handler to work. For example, add the line Thread.Sleep(1000); after the Enqueue call.

If this information didn’t help you, send us a small test project for reproducing the issue.
Devart Team
Posts: 2085
Joined: Wed 02 Nov 2011 09:44

Return to dotConnect for Oracle