Page 1 of 1

OracleQueue Events never fire

Posted: Mon 16 Jan 2017 20:02
by jtoland
I'm using the provided examples and cant get the onMessage events to ever fire. I'm using Oracle 11.2.0.2

Re: OracleQueue Events never fire

Posted: Tue 17 Jan 2017 15:04
by Pinturiccio
The OnMessage event fires only if the AsyncNotification property is true. For more information, please refer to https://www.devart.com/dotconnect/oracl ... ge_EV.html

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.