|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
topic level wildcard subscriber not working |
« View previous topic :: View next topic » |
Author |
Message
|
arhlsmo |
Posted: Tue Mar 01, 2016 12:29 pm Post subject: topic level wildcard subscriber not working |
|
|
Newbie
Joined: 01 Mar 2016 Posts: 2
|
Hello, I've searched the forums and I don't see anything quite like this one, so hopefully it's not a duplicate.
Code: |
destination = (MQTopic) session.createTopic("topic://CARS/HONDA/#/BLUE");
System.out.println("TPwc=" + destination.getWildcardFormat());
MQTopicSubscriber subscriber = (MQTopicSubscriber) session.createSubscriber(destination);
|
I can see my wildcardFormat() is 0, which is topic level. However, when I view my subscription in MQ Explorer it shows a Wildcard usage of "Character level wildcard". I'm not sure why.
When I publish to topic "CARS/HONDA/PRELUDE/BLUE" I don't receive the publication. If I change my topic to "CARS/HONDA/PRELUDE/BLUE" it works fine.
These are all "dynamic" subscriptions/topics, so I don't have anything defined in MQSC, these topics just come and go. This is client version 7.5.
Where am I losing my wildcard format?
Thanks |
|
Back to top |
|
 |
arhlsmo |
Posted: Thu Mar 10, 2016 6:59 am Post subject: solution |
|
|
Newbie
Joined: 01 Mar 2016 Posts: 2
|
It was the sharing conversations setting on my channel. It was set to 0, setting it to 1 allowed my subscriptions to do topic level wildcarding. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Mar 10, 2016 7:26 am Post subject: Re: solution |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
arhlsmo wrote: |
It was the sharing conversations setting on my channel. It was set to 0, setting it to 1 allowed my subscriptions to do topic level wildcarding. |
This is certainly a very obscure change in setting. Thanks for reporting back  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Mar 10, 2016 8:10 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
In general, you should not use SHARECNV(0).
This is not the first weird problem I've seen with using it.
I've gotten some 2012's because of it..
 _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|