[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Temporary Queue destroyed listener?

2004-06-04 Thread mosseri
I'd also like a way to check and see if a temporary queue is still around without 
going through the process of trying to send a message to that queue. This goes 
hand-in-hand with the above.

Thanks again,

Mike

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Temporary Queue destroyed listener?

2004-06-04 Thread mosseri
Hello all,

I have a Temporary queue being created by a client that is connecting to the server 
(over UIL2). I would like to be notified if the client's connection is broken, but on 
the server. I've browsed the JMX console and the DestinationManager gets notified of 
the queue being closed immediately. I can't find anything in the JMS spec about  this, 
but I am open to suggestions of any implementation.

I've tried setExceptionListener on the server, but I don't think the QueueConnection 
I'm getting is necessarily shared or directly to the client.  I am getting it from the 
QueueConnectionFactory in JNDI. I am then creating a new QueueConnection, QueueSession 
and QueueSender each time I need to send a message to the client (inside a stateless 
session bean). Should I be reusing it and not closing it? The app is going to be 
deployed in a cluster over HAJNDI.

The end result I am looking for is to call a bean method or publish a JMS message to a 
topic with the queue name being destroyed.

Thanks,

Mike

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

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


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user