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 IBM MQ Support » SUBSCRIBER DESTINATION NAME ISSUE

Post new topic  Reply to topic
 SUBSCRIBER DESTINATION NAME ISSUE « View previous topic :: View next topic » 
Author Message
mpong
PostPosted: Wed Jul 20, 2016 12:09 am    Post subject: SUBSCRIBER DESTINATION NAME ISSUE Reply with quote

Disciple

Joined: 22 Jan 2010
Posts: 164

Hello All,

.net client is subscribing to TOPIC but they are not able to use the subscriber which is created thru mqsc commands and having dedicated queue.

But they are able to create one, in that case it creates managed queue for durable subscription(SYSTEM.MANAGED.DURABLE.577834SF)

OPTIONS USED in .net code:
int openOptionsForGet =MQC.MQSO_CREATE | MQC.MQSO_RESUME | MQC.MQSO_FAIL_IF_QUIESCING | MQC.MQSO_MANAGED ;

TOPIC ACCESSING .net code:
topic = queueManager.AccessTopic(topicName, topicObject, openOptionsForGet,null,"CORSEARCH_SUB");

There is no option to provide destination name or destination class.

I want them to use the subscriber which I created so that I monitor the dedicated queue created for subscriber.

Please suggest your thoughts.
Back to top
View user's profile Send private message
hughson
PostPosted: Wed Jul 20, 2016 2:43 am    Post subject: Re: SUBSCRIBER DESTINATION NAME ISSUE Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
Location: Bay of Plenty, New Zealand

mpong wrote:
There is no option to provide destination name or destination class.

This page MQQueueManager .NET class suggests there is:-

Code:
public MQTopic AccessTopic( MQDestination destination, string topicName, string topicObject, int options );


Although the text looks a little incorrect.

Knowledge Center wrote:
destination
destination is an MQQueue instance. By providing destination, MQTopic is opened as an unmanaged subscription. Publications on the topic are delivered to the queue accessed as destination. You must set MQC.MQSO_MANAGED in options.


Feels like it should says "You must not set MQC.MQSO_MANAGED in options."

mpong wrote:
I want them to use the subscriber which I created so that I monitor the dedicated queue created for subscriber.

You could just read from the queue you created for the admin subscription and not have the .NET application go anywhere near the subscription?

Cheers
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » SUBSCRIBER DESTINATION NAME ISSUE
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.