Invalid value for wait type
Wait time can be AQDequeueOption.WAIT_FOREVER, AQDequeueOption.WAIT_NONE or any value greater than 0
Browse all solutions to database errors from Oracle, MS SQL or MySQL
Try the following links for this error:
http://docs.oracle.com/cd/E16655_01/server.121/e26079/aqjmsmessages.htm