Author |
Message
|
grrommitt |
Posted: Mon Mar 23, 2015 7:52 am Post subject: IIB 9 topic names case sensitive? |
|
|
Novice
Joined: 22 Oct 2014 Posts: 11
|
Are the topic names in IIB 9 case sensitive? |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Mar 23, 2015 8:04 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
What do you think?
Have you tried different cases? What was the result?
Wouldn't that be just as quick as posting your question here? _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
Gaya3 |
Posted: Mon Mar 23, 2015 8:04 am Post subject: Re: IIB 9 topic names case sensitive? |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
grrommitt wrote: |
Are the topic names in IIB 9 case sensitive? |
what kind of topic that you created, am also facing the same kind of issue when i created $SYS/Broker topic
if there is any wild card its not working, it is plain text topic string its working for me _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
Vitor |
Posted: Mon Mar 23, 2015 8:11 am Post subject: Re: IIB 9 topic names case sensitive? |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Gaya3 wrote: |
grrommitt wrote: |
Are the topic names in IIB 9 case sensitive? |
what kind of topic that you created, am also facing the same kind of issue when i created $SYS/Broker topic |
You shouldn't be creating any new topic under $SYS.
Gaya3 wrote: |
if there is any wild card its not working, it is plain text topic string its working for me |
Ok, you can't create a new topic with a publication that has a wildcard in it's name. If you're talking about subscribing to a topic, then case sensitivity would have nothing to do with wildcards or not (as wildcards are case insensitive.
And given that IIB uses the underlying queue manager for all it's publish / subscribe the issue of case sensitivity should be obvious. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Gaya3 |
Posted: Mon Mar 23, 2015 8:16 am Post subject: Re: IIB 9 topic names case sensitive? |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Vitor wrote: |
Gaya3 wrote: |
grrommitt wrote: |
Are the topic names in IIB 9 case sensitive? |
what kind of topic that you created, am also facing the same kind of issue when i created $SYS/Broker topic |
You shouldn't be creating any new topic under $SYS.
Gaya3 wrote: |
if there is any wild card its not working, it is plain text topic string its working for me |
Ok, you can't create a new topic with a publication that has a wildcard in it's name. If you're talking about subscribing to a topic, then case sensitivity would have nothing to do with wildcards or not (as wildcards are case insensitive.
And given that IIB uses the underlying queue manager for all it's publish / subscribe the issue of case sensitivity should be obvious. |
to make it clear - i have created a topic with topic String
Topic = TEST_BROKER
TOPIC_STR = $SYS/Broker/+/Monitoring/+/#
CLROUTE = TOPICHOST
PUBSCOPE = ALL
SUBSCOPE = ALL
CLUSTER = TESTCLS01X
if i dont use the wild card, i can test it between the queue managers, if there is any wild card its not coming on different queue managers. (using amqspub and amqsub) _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Mar 23, 2015 8:26 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
There's a difference between an MQ Topic Object and an MQ pub/sub topic itself.
Topic Objects are used to provide shortcuts/pointers to parts of the topic tree. Subscriptions can then use the topic object to allow them to be relocatable without altering the code.
So if you want to create a subscription to the topic string "$SYS/Broker/+/Monitoring/+/#", you can create a topic object that points to "$SYS/Broker/", and then specify that in your subscription, with the additional piece of "+/Monitoring/+/#". Or something like that.
This has nothing to do with if a subscription to "/A/B/C" will receive messages published to "/a/b/c". |
|
Back to top |
|
 |
Gaya3 |
Posted: Wed Mar 25, 2015 6:24 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
found out a bug in MQ V8 while using wild cards in Pub/Sub - reported to IBM _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Mar 25, 2015 6:31 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Gaya3 wrote: |
found out a bug in MQ V8 while using wild cards in Pub/Sub - reported to IBM |
I hope it's not the same thing that you showed, using wild cards in the topic string of a TOPIC object. Because as far as I know, that shouldn't work.
Again, TOPIC objects point to parts of the topic tree - specific parts, not generic parts - and are used to provide shortcuts for applications and points of authentication. |
|
Back to top |
|
 |
Gaya3 |
Posted: Wed Mar 25, 2015 6:39 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
mqjeff wrote: |
Gaya3 wrote: |
found out a bug in MQ V8 while using wild cards in Pub/Sub - reported to IBM |
I hope it's not the same thing that you showed, using wild cards in the topic string of a TOPIC object. Because as far as I know, that shouldn't work.
Again, TOPIC objects point to parts of the topic tree - specific parts, not generic parts - and are used to provide shortcuts for applications and points of authentication. |
True, you are right , it's related to Pub/Sub, _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
|