OracleQueue Events never fire
OracleQueue Events never fire
I'm using the provided examples and cant get the onMessage events to ever fire. I'm using Oracle 11.2.0.2
-
- Devart Team
- Posts: 2420
- Joined: Wed 02 Nov 2011 09:44
Re: OracleQueue Events never fire
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.
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.