This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to send message from Message Driven Bean to Session Bean

 
Cheryl Low
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic