Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to inform statefull session bean about reply msg?

843830Jul 19 2002 — edited Nov 20 2002
Hello,
I have a statefull session EJB that send message to a requestQueue. The reply message arrives to a replyQueue. How can I inform this statefull session EJB about message for him?

I try use JMS in MVC architecture- my application based on JavaPetStore app. I like process the events that coming to statefull ShoppingClientControllerEJB asynchronously. SCCEJB use XXXHandler class that must send message and wait the reply. I try use MessageListener in XXXHandler:

QueueListener ql = new QueueListener();
receiver.setMessageListener(ql);
but it doesn�t work.

Can any body help?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 18 2002
Added on Jul 19 2002
6 comments
127 views