Author |
Message
|
kotagiriaashish |
Posted: Mon May 26, 2014 4:12 am Post subject: MQ pub/sub |
|
|
 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 |
|
 |
fjb_saper |
Posted: Mon May 26, 2014 9:58 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
kotagiriaashish |
Posted: Mon May 26, 2014 10:02 am Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Mon May 26, 2014 10:07 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
kotagiriaashish |
Posted: Sun Jun 01, 2014 10:42 pm Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Mon Jun 02, 2014 5:17 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
|