File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Unable to send message from Message Driven Bean to Session Bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Unable to send message from Message Driven Bean to Session Bean" Watch "Unable to send message from Message Driven Bean to Session Bean" New topic
Author

Unable to send message from Message Driven Bean to Session Bean

Cheryl Low
Greenhorn

Joined: Mar 29, 2013
Posts: 1
Hi all,
I have a session bean that is created in one ejb project and it is used to send a message over to a MDB at a separate project. I am able to get the message over at the MDB. However, when I need to use the MDB to send back a different message to the session bean, i can't seem to receive the message from the session bean. I'm not sure where the problem lies. My code is as shown below. Can anyone help me with this? thanks.

Code at my Session Bean:


Code at my MDB: (in OnMessage)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to send message from Message Driven Bean to Session Bean