I am using jboss4.0.5.GA. I have a mdb which is bound to a queue. This queue is already having some messages lying which i could see in the jboss web-console. The queue depth was set to 11. But somehow the mdb is not processing these messages. I have put a println statement in my onmessage and even that did not print on console. I verified if the queue name i have mentioned in my code file is the same as of the one whose depth was set and that is ok. This is very strange as i have never seen this happen. There is no error on jboss console on in my logs.I would appreciate if someone can help me here.
posted 7 years ago
Please disregard my above post as it WAS a queue name issue. However I did see a Communication issue in my log saying "Could not connect to localhost:1100". Possibly that was the reason the mdb did nor start up as the queue request had a comminication issue.