The same JMS message keeps staying in the queue and being picked while my MDB is accessing the database in a loop. Should I do something with the data source transaction part ?
In the onMessge() method, it calls a getDBresult() method. Inside the getDBresult() method, it calls a databse store procedure for few times in a loop. Found the onMessge() method keeps getting the same unconsumed messge forever.