I would like to use ORACLE DBMS_ALERT package in Spring for receiving signals from database.
In pl/sql the following code receives one message if available in 10 seco