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 » IBM MQ Java / JMS » topic level wildcard subscriber not working

Post new topic  Reply to topic
 topic level wildcard subscriber not working « View previous topic :: View next topic » 
Author Message
arhlsmo
PostPosted: Tue Mar 01, 2016 12:29 pm    Post subject: topic level wildcard subscriber not working Reply with quote

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
View user's profile Send private message
arhlsmo
PostPosted: Thu Mar 10, 2016 6:59 am    Post subject: solution Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Thu Mar 10, 2016 7:26 am    Post subject: Re: solution Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Thu Mar 10, 2016 8:10 am    Post subject: Reply with quote

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
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 » IBM MQ Java / JMS » topic level wildcard subscriber not working
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.