Try putting in the corresponding session bean's section in the ejb-jar.xml, the following para:
Let me know if that works. If yours is a topic, use the topic stuff instead.
I tried the code, but it doesn't work. I am not able to get the remote machine MessageDrivenBean Reference. I would like to clarify that i am having two JBoss servers running. on first server there is a MDB and on the second server there is a Session Bean which sends the message to the MDB. now when i do lookup for the MDB running on the first server it is not able to get the reference of that MDB and says javax.jms.InvalidDestinationException. So what changes are to be made either in server configuration or in the client code so as to get the reference of the MDB on the first server to the second server.
I got some information about getting access to the remote JMS provider. We have to configure the jms-ds.xml of the local JBoss server to listen to the remote JBoss Server Topic. This would enable the session bean on the local server to send the message to MDB of the remote sever. But i don't know how to do this. So Anyone please help me in this matter. Thanx.
Read the FAQ, Adrian added an entry on that subject.
Thank You for your suggestion. I solved the problem before ur post. Actually i read the Online documentation and was able to solve it.
I would post the solution as soon as possible.
pankilshah82, would you be kind enough to post ur solution? i meet the same problem.
thanks a lot