This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
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


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
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)
 
Consider Paul's rocket mass heater.
 
subject: Unable to send message from Message Driven Bean to Session Bean
 
It's not a secret anymore!