Discussion:
[openjms-developer] create Topic dynamically
strongspirit (sent by Nabble.com)
2006-02-02 00:53:10 UTC
Permalink
Hi, I'm newbie here :)

i want to create Topic dynamically.
and the Topic MUST exist for some time(awkward expression;;)

i used createTopic() method in TopicSession class for Publisher class
and i implemented test class, Subscriber class.

but when i ran the Subscriber class, Exception is generated which is TopicNameNotFound, something like that..

so i knew that Topic is not created physically..

BUT i hope that Topic is created dynamically.


How can i solve this problem?


--
View this message in context: http://www.nabble.com/create-Topic-dynamically-t1043866.html#a2712388
Sent from the OpenJMS - Dev forum at Nabble.com.
Tim Anderson
2006-02-02 10:22:28 UTC
Permalink
You need to create the topics via the administration API.
See
http://openjms.sourceforge.net/usersguide/admin.html#Creating_administered_d
estinations
for details.

-Tim


_____

From: openjms-developer-***@lists.sourceforge.net
[mailto:openjms-developer-***@lists.sourceforge.net] On Behalf Of
strongspirit (sent by Nabble.com)
Sent: Thursday, 2 February 2006 11:53 AM
To: openjms-***@lists.sourceforge.net
Subject: [openjms-developer] create Topic dynamically


Hi, I'm newbie here :)

i want to create Topic dynamically.
and the Topic MUST exist for some time(awkward expression;;)

i used createTopic() method in TopicSession class for Publisher class
and i implemented test class, Subscriber class.

but when i ran the Subscriber class, Exception is generated which is
TopicNameNotFound, something like that..

so i knew that Topic is not created physically..

BUT i hope that Topic is created dynamically.


How can i solve this problem?



_____

View this message in context: create
<http://www.nabble.com/create-Topic-dynamically-t1043866.html#a2712388>
Topic dynamically
Sent from the OpenJMS - Dev <http://www.nabble.com/OpenJMS---Dev-f2761.html>
forum at Nabble.com.
strongspirit (sent by Nabble.com)
2006-02-02 23:50:41 UTC
Permalink
Thank you so much :)

Have a nice day~
--
View this message in context: http://www.nabble.com/create-Topic-dynamically-t1043866.html#a2731419
Sent from the OpenJMS - Dev forum at Nabble.com.

Loading...