RE: create Topic dynamically

"Tim Anderson" <[email protected]> Thu, 2 Feb 2006 21:22:28 +1100
Newsgroups gmane.comp.java.openjms.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.

------=_NextPart_000_0013_01C6283E.C5772100
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

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-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:openjms-developer-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of
strongspirit (sent by Nabble.com)
Sent: Thursday, 2 February 2006 11:53 AM
To: openjms-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
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. 


------=_NextPart_000_0013_01C6283E.C5772100
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1528" name=3DGENERATOR></HEAD>
<BODY>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D672362010-02022006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>You need to create the topics via the =
administration=20
API.</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D672362010-02022006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>See <A=20
href=3D"http://openjms.sourceforge.net/usersguide/admin.html#Creating_adm=
inistered_destinations">http://openjms.sourceforge.net/usersguide/admin.h=
tml#Creating_administered_destinations</A></FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D672362010-02022006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>for details.</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D672362010-02022006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D672362010-02022006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>-Tim</FONT></SPAN></DIV><BR>
<BLOCKQUOTE=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
  <HR tabIndex=3D-1>
  <FONT face=3DTahoma size=3D2><B>From:</B>=20
  openjms-developer-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org=20
  [mailto:openjms-developer-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] <B>On Behalf Of =

  </B>strongspirit (sent by Nabble.com)<BR><B>Sent:</B> Thursday, 2 =
February=20
  2006 11:53 AM<BR><B>To:</B>=20
  openjms-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org<BR><B>Subject:</B> =
[openjms-developer]=20
  create Topic dynamically<BR></FONT><BR></DIV>
  <DIV></DIV>Hi, I'm newbie here :) <BR><BR>i want to create Topic =
dynamically.=20
  <BR>and the Topic MUST exist for some time(awkward expression;;) =
<BR><BR>i=20
  used createTopic() method in TopicSession class for Publisher class =
<BR>and i=20
  implemented test class, Subscriber class. <BR><BR>but when i ran the=20
  Subscriber class, Exception is generated which is TopicNameNotFound, =
something=20
  like that.. <BR><BR>so i knew that Topic is not created physically..=20
  <BR><BR>BUT i hope that Topic is created dynamically. <BR><BR><BR>How =
can i=20
  solve this problem? <BR><BR><BR>
  <HR align=3Dleft width=3D300>
  View this message in context: <A=20
  =
href=3D"http://www.nabble.com/create-Topic-dynamically-t1043866.html#a271=
2388">create=20
  Topic dynamically</A><BR>Sent from the <A=20
  href=3D"http://www.nabble.com/OpenJMS---Dev-f2761.html">OpenJMS - =
Dev</A> forum=20
  at Nabble.com. </BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0013_01C6283E.C5772100--


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642