I don't understand your question?
I need a way to detect client disconnection, to inform to my own system to erase the
client from a connected list.
HTTP is a stateless protocol, unlike UIL2.
OK
How can sending a message to a client help you? You send the message to the server
not the client?
This helps me this way: I establish a TemporaryQueueConnection from every client to
the server. If a clients needs to send a message to the server, it sends a message to
a preexistent and known queue, and sets the Reply-to header to the TemporaryQueue.
This way, I can associate any client with its queue.
So every 10 seconds I send a message to every tempQueue I have. If the message send
fails, I get an exception, and I know I have to remove that client from the connected
list. Am I clear?
Well, this works with UIL2, but not with the HTTPIL, and I don't know why.
Any idea?
If you want to detect client inactivity, you can use the ClientMonitorInterceptor,
see deploy/jms/jbossmq-service.xml
I'll see if I can override and add my own interceptor in the top of the chain.
Thanks, Marcelo
a
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3826536#3826536;View
the original post/a
a
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3826536Reply
to the post/a
---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user