Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

message sare sent to the queue but mdb dosnt handle them

 
avihai marchiano
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

working with jboss 4.2.3 with jboss messaging installed.

i have a queue that work, but in some cases after some time the mdb are no longer taking messages from the queue.

any advice how to debug?

thank you
 
krishna kanthgaru
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
avihai marchiano wrote:Hey,

working with jboss 4.2.3 with jboss messaging installed.

i have a queue that work, but in some cases after some time the mdb are no longer taking messages from the queue.

any advice how to debug?

thank you


are you opening the connections every time you read a message from the queue?

are you closing properly once you read the message.

helps if you add as much detail you can
 
avihai marchiano
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
where to start?
what details are important?

this is ejb3 mdb.
i dont open a connection the mdb is triggered by the queue.
 
krishna kanthgaru
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for mdb to be triggered by the queue , we should be attaching them in the first place , right?

i am not very familiar with queue's but i believe the problem is in connection since it processes in the beginning but then stops.

was the queue filled up when it stopped triggering mdb?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic