ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » Purpose of a "Topic String"

Post new topic  Reply to topic
 Purpose of a "Topic String" « View previous topic :: View next topic » 
Author Message
sbuster
PostPosted: Thu Oct 30, 2008 12:20 pm    Post subject: Purpose of a "Topic String" Reply with quote

Apprentice

Joined: 07 Oct 2008
Posts: 25

I'm using MQ 7 Pub/Sub capabilities and was wondering what the "Topic String" property on a topic is for?
Here is my reason for asking. I have a Topic named INPUT.TOPIC defined with a Topic String of "input". I then created a Message Driven Bean and deployed it on Websphere 6.1. The MDB receives messages if I create a simple test program from Java using JMS. However, if I go into MQ Explorer and create a "Test Publication" (the topic string is to "input" by default) and publish a message, it doesn't get pushed to the MDB. If I change the topic string to "INPUT.TOPIC" the MDB does get the message.
If someone could help me with this I would appreciate it.

thanks
steve
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Thu Oct 30, 2008 6:01 pm    Post subject: Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

The TopicString property of a TOPIC object associates the topic string (and maybe its subordinates) with that object for security and administrative control purposes. In MQ, opening the TOPIC object is equivalent to opening its TopicString, although normally apps should always using the topic string and have no knowledge of TOPIC object names.

Try the sample programs amqspub and amqssub on the topic string. Its probably a mis-match problem with upper/lower case or other characters you may have included in the topic string.
_________________
Glenn
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Purpose of a "Topic String"
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.