-
1. Re: Question about durable subscription setup
hchirino Nov 3, 2001 1:03 AM (in response to hchirino)> From the manual that I've read at
> http://www.jboss.org/online-manual/HTML/ch08s07.html
> I'm left in the dark about just what the fields are
> and/or how their used. For
> example
> if I create a user with a password, how do I pass
> that information to JBossMQ
> when
> opening a connection to the MQ server.
>
To connect the MQ server with a userid/password, you use the TopicConnectionFactory.createTopicConnection(String userid, String password) method.
> And I'm really clueless about the DurableSubscription
> and child fields. I could
Once connected as a user id, he may have multiple durable subscriptions that map to different topics. So in otherwords, each user has his own mapping of subscription names to topics. So if the client sets up a new subscription, it will get added as a durable subscription entry under his userid. This is how we keep track of the fact that we need to store all the message on a topic for a specific user.
Make senese???
Regards,
Hiram