Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jms thread: Defining Topic using JMSAdmin.bat


Message #1 by "Rehan Asap" <rasad@e...> on Mon, 5 Nov 2001 18:03:29
Hi, 

The type of error I am getting makes me wonder may be I am not defining my 
topic in a correct way or something. Here is the command I use to define 
my topcic: 

DEF T(test) TC(MQ) 

the above command binds the topic 
"test" to MQ entity "com.ibm.mq.jms.MQTopic" 

Now reading the documentation on MQTopic it says The constructor takes one 
argument which should be a uniform resource identifier (URI). For MQSeries 
classes for Java Message Service(JMS) Topics, this should be of the form: 

topic://TopicName[?property=value[&property=value]*] 

That makes me wonder the pattern I used 
"DEF T(test) TC(MQ)" to define my topic in MQSeries using JMSAdmin.bat may 
not be correct. 

So anyone out there who used a JMSAdmin.bat before would like to share 
their experience if they did anything special to define their topic? Help 
is appreciated. 

Thanks, 
Rehan 

  Return to Index