|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
SUBSCRIBER DESTINATION NAME ISSUE |
« View previous topic :: View next topic » |
Author |
Message
|
mpong |
Posted: Wed Jul 20, 2016 12:09 am Post subject: SUBSCRIBER DESTINATION NAME ISSUE |
|
|
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 |
|
 |
hughson |
Posted: Wed Jul 20, 2016 2:43 am Post subject: Re: SUBSCRIBER DESTINATION NAME ISSUE |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 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 |
|
 |
|
|
 |
|
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
|
|
|
|