Retrieving a message available in onMessage() from a Servlet
posted 8 years ago
I have created a MDB that listens to a Queue. The message is also available inside the onMessage()method. Now i need to forward this available message to a servlet. Is is possible? How to forward the message to some other class using the class's object?
Can we make a reference to a MDB as we do to a SessionBean or EntityBean. Please help me out.