[jboss-user] [JBoss Messaging] - Where did my messages (sent by a SessionBean) go?

tonylmai do-not-reply at jboss.com
Wed Apr 4 20:20:45 EDT 2007


Hello,

I have a problem in my client application in receiving messages published by a SessionBean (EJB3). I am using JBoss Messaging with JBoss 4.0.5GA.

My client had no problem looking up the name, created a destination and then a MessageConsumer for the destination (queue).

None of the messages published by my SessionBean would end up in my client's application. My SessionBean had no problem looking up the name of the queue, created a destination, then created a MessageProducer for the channel, and sent the messages each time. 

Yet no one's home.

To be sure it was not my client, I'd created another test app (MessageProducer) to publish messages to this queue. These messages did arrive in my client's application without any problem. 

So I figured it have something to do with my SessionBean. Perhaps it was publishing to the wrong channel. The thing is, the same name was used and no exception was thrown when the lookup were performed or when the destination was created. No other queue were declared in the *-destination-service.xml. JBoss log showed the queue was created with the correct name.

Any idea on how I would go about debugging this kind of problem? 

Thanks
-tony

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034830#4034830

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034830



More information about the jboss-user mailing list