File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes message sare sent to the queue but mdb dosnt handle them Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "message sare sent to the queue but mdb dosnt handle them" Watch "message sare sent to the queue but mdb dosnt handle them" New topic
Author

message sare sent to the queue but mdb dosnt handle them

avihai marchiano
Ranch Hand

Joined: Jan 10, 2007
Posts: 342
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

Joined: Feb 12, 2007
Posts: 17
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


no signature ... i am not a celebrity yet
avihai marchiano
Ranch Hand

Joined: Jan 10, 2007
Posts: 342
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

Joined: Feb 12, 2007
Posts: 17
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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: message sare sent to the queue but mdb dosnt handle them