I have an MDB deployed on WebLogic 10.3 which is listening on a JMS queue on Oracle AQ.
The messages are processed without any problem whenever they are being put on the queue. However is there is no message I can see an Oracle error returned in the communication between WebLogic and Oracle AQ:
ORA-25228: timeout or end-of-fetch during message dequeue
The problem here is that if that error is returned then WebLogic sends a request again and again, so I can see a huge communication between WebLogic and Oracle AQ (1000 requests in 12 minutes).
If I use Spring instead of Message Driven Bean I can see the same problem, however if I add task executor (task-executor attribute) to jms listener container then the communication looks good and the communication between WebLogic and Oracle AQ is done on periodical intervals (every 120 seconds) with an status returned:
ORA-01403: no data found
Anyone has an idea how to configure MDB correctly?