-
1. Re: Automatic topic creation & deletion through EJBSessionBe
adrian.brock Feb 15, 2008 10:11 AM (in response to sasimsit)JMX and the DestinationManager,
read the docs or just search this forum. -
2. Re: Automatic topic creation & deletion through EJBSessionBe
sasimsit Feb 15, 2008 10:25 AM (in response to sasimsit)Thanks for quick reply .
I want to know Message based chat application we are going to develop. that time how it will help for me. assume that . I have DB in list of user. whenever the user login , the same name I want to create Topic JNDI for that user. and provide publish the message and recive the message.
When ever the user log out The Topic JNDI will delete automatically . This kind of scenario possible for JBOSS.
please provide some more information about my question.
Thanks and Regards
P.Sasikumar
Ellaar,chennai -
3. Re: Automatic topic creation & deletion through EJBSessionBe
adrian.brock Feb 20, 2008 10:54 AM (in response to sasimsit)Why do you need a whole topic for each user?
Surely you can use one topic with subscriptions based on some kind of user-id filter
in the message?
NonDurable Topic subscriptions are automatically deleted when the connection
is closed or fails.
Anyway this is a consulting question not a technical question.
I'm not going to design your application for you. :-) -
4. Re: Automatic topic creation & deletion through EJBSessionBe
adrian.brock Feb 20, 2008 11:03 AM (in response to sasimsit)"adrian@jboss.org" wrote:
NonDurable Topic subscriptions are automatically deleted when the connection
is closed or fails.
Or if you want messages to survive failures you could use durable topic subscriptions
and map the login/logout to createDurableSubscription() and unsubscribe()
respectively.