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 » MQ pub/sub

Post new topic  Reply to topic
 MQ pub/sub « View previous topic :: View next topic » 
Author Message
kotagiriaashish
PostPosted: Mon May 26, 2014 4:12 am    Post subject: MQ pub/sub Reply with quote

Disciple

Joined: 06 Aug 2011
Posts: 165

Hello guys, I have a problem with registering topics in fact I have a problem with SYSTEM.BROKER.CONTROL.QUEUE, messages are just piling up on the queue.

I did a couple of things to trouble shoot, like checking if the "Get Messages" is allowed yes it is, then i checked the PSMODE yes its enabled.

since the messages are sitting there there should be something wrong with the PUBSUB DEMON, how to debug this issue??? there is nothing present is MQ error logs either.

Version: 7.0.1.3 please help.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon May 26, 2014 9:58 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

That's because that's not the queue you publish messages to! That's the queue you use to register your subscription.

Look up the manual and publish to the right queue!
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kotagiriaashish
PostPosted: Mon May 26, 2014 10:02 am    Post subject: Reply with quote

Disciple

Joined: 06 Aug 2011
Posts: 165

fjb_saper wrote:
That's because that's not the queue you publish messages to! That's the queue you use to register your subscription.

Look up the manual and publish to the right queue!


Yes im sending a message with MQRFH2 Headder to register a subscription... these register messages are the ones that are piling up.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon May 26, 2014 10:07 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

kotagiriaashish wrote:
fjb_saper wrote:
That's because that's not the queue you publish messages to! That's the queue you use to register your subscription.

Look up the manual and publish to the right queue!


Yes im sending a message with MQRFH2 Headder to register a subscription... these register messages are the ones that are piling up.

Clear the queue, bounce the qmgr.
Specify a reply to queue. Send the message as request reply.
Use RFHUtil to read the message on the reply queue.
Check one of the tab. It will have the return code from the subscription registration.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kotagiriaashish
PostPosted: Sun Jun 01, 2014 10:42 pm    Post subject: Reply with quote

Disciple

Joined: 06 Aug 2011
Posts: 165

fjb_saper wrote:
kotagiriaashish wrote:
fjb_saper wrote:
That's because that's not the queue you publish messages to! That's the queue you use to register your subscription.

Look up the manual and publish to the right queue!


Yes im sending a message with MQRFH2 Headder to register a subscription... these register messages are the ones that are piling up.

Clear the queue, bounce the qmgr.
Specify a reply to queue. Send the message as request reply.
Use RFHUtil to read the message on the reply queue.
Check one of the tab. It will have the return code from the subscription registration.


Thanks a lot for the suggestion it worked I was not specifying message type

Code:
      SET OutputRoot.MQMD.MsgType = MQMT_REQUEST;


so the reply never came to the replytoQ, this helped me debug the issue...

I have one more doubt when we put a message onto the SYSTEM.BROKER.CONTROL.QUEUE it replies with a message Id and CorelId (Collected from Output terminal of MQ Output node)

and the reply sent by the queuemanager to the queue name specified in
Code:
SET OutputRoot.MQMD.ReplyToQ  = 'REG_REPLY';


the message ID and corel Id dont match. is there any possible way to corelate a subscription request message to its corresponding response?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jun 02, 2014 5:17 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

What do you mean they don't match? Did you check the flags for correlID = msgID in the request message? (RFHUtil ?)
In any case the (successful) reply message should have the subscription topic and subscription destination in it. Look for it at the bottom window of the PSRC tab.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQ pub/sub
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.