Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS message

 
Stephen Ferg
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
Dhiraj Mahapatro
Greenhorn
Posts: 12
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please elaborate the scenario and the environment?
 
Stephen Ferg
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Dhiraj Mahapatro
Greenhorn
Posts: 12
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the listener assigned to one or more consumers of the same session?
 
Stephen Ferg
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no, just for this one.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!