This content has been marked as final.
Show 2 replies
-
1. Re: jms authentication
ikloeckl Apr 23, 2003 4:08 AM (in response to matt_furness)Hi,
normally you can use durable subscriptions without login. Did you set the client ID?
oConT.setClientID("myID");
where oConT is an object of type TopicConnection. Without setting it, you get an exception while attempting to subscribe.
To pass login information, you may create the topic connection like this:
TopicConnection oConT = oTopicConnectionFactory.createTopicConnection("username", "pwd");
But I think, first the client Id should be set.
Greetings Ingo -
2. Re: jms authentication
matt_furness Apr 23, 2003 9:20 PM (in response to matt_furness)Hi,
thanks Ingo for your help, putting the user name and password in when i create the topic connection works.
Thanks again
-Matt.