"[EMAIL PROTECTED]" wrote : You don't show the full lifecycle of the receiver, you 
only show its removal.

Hmm... I've posted all the snippits of code that deal with the receiver so I'm not 
sure what to add.

1) the receiver is created when a message is sent, it is created against a fixed queue 
using a selector against the ID of the message being sent.

2) the receiver is "held" in a Map, keyed on the ID of the message that was sent.

3) when a reply (to the sent message) comes in to onMessage the receiver is retrieved 
from the Map and closed.

Hope that helps.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823693#3823693

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823693


-------------------------------------------------------
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

Reply via email to