Hello. I have launched a method from an activated Stateful Session Bean (SFSB) from the onMessage method of a Message Driven Bean (MDB). The SFSB was retrieved from a message with getObject(). Although this is working like a rock, I would like to be able to stop this SFSB. Since MDB is stateless, I cannot store the SFSB and cannot invoke remove(). I have tried to keep the reference of the SFSB in a separate Entity Bean, and I can remove it, but it seems that JBoss creates another reference for messaging uses of the SFSB which I cannot remove.
Question is... is it possible to remove this SFSB from the MDB? Should I try another technique or service? MBeans? I would like to send a "remove" message to the MDB, and then in the onMessage method remove the SFSB but I still don't know how. Please help! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823781#3823781 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823781 ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
