Author |
Message
|
sarathmattam |
Posted: Tue Dec 09, 2008 4:31 am Post subject: Registering Subscription to a Broker |
|
|
Voyager
Joined: 05 Sep 2008 Posts: 94
|
Hi All,
I am working in unix environment. I hav a pub/sub flow for which i have to register a subscription request to the broker.
I dont have Rfhutilc with me.I have tried
1. posting the subscription request using amqsput.
2. Creating a flow where i have configured the MQOut node with the SYSTEM.BROKER.CONTROL.QUEUE.
Can any one suggest a method using which i can register the subscription request to the broker??
Thanks a lot in advance ..
Regards,
Sarath |
|
Back to top |
|
 |
Vitor |
Posted: Tue Dec 09, 2008 4:41 am Post subject: Re: Registering Subscription to a Broker |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
sarathmattam wrote: |
1. posting the subscription request using amqsput.
2. Creating a flow where i have configured the MQOut node with the SYSTEM.BROKER.CONTROL.QUEUE.
|
What errors did you get with these methods (which are in essence all Rfhutil is doing)? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
sarathmattam |
Posted: Tue Dec 09, 2008 4:48 am Post subject: |
|
|
Voyager
Joined: 05 Sep 2008 Posts: 94
|
I didnt get any errors in both the methods.
But i read in a document that amqsput can take maximum of 100 characters and so that it fails..
In the second method i have created a flow with FileInout -->
MQMD node --> MQOut.. Eve the trace is saying the message is successfully sent out to the SYSTEM.BROKER.CONTROL.QUEUE ..
I have connected Toolkit to that environment and checked for the subscriptions .. Its not there ..
Thanks & Regards
Sarath |
|
Back to top |
|
 |
Vitor |
Posted: Tue Dec 09, 2008 4:58 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
sarathmattam wrote: |
But i read in a document that amqsput can take maximum of 100 characters and so that it fails.. |
True, but it's only a sample. Recompile it with a bigger buffer and you're away.
sarathmattam wrote: |
In the second method i have created a flow with FileInout -->
MQMD node --> MQOut.. Eve the trace is saying the message is successfully sent out to the SYSTEM.BROKER.CONTROL.QUEUE .. |
The MQMD node? Which version of Broker is that in.....?
I'll assume you mean the Compute node building a message (though if not I've found your problem!). Include a report instruction in the subscription request and see why the request is failing (in exactly the same way you would in Rfhutil). _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
sarathmattam |
Posted: Tue Dec 09, 2008 5:02 am Post subject: |
|
|
Voyager
Joined: 05 Sep 2008 Posts: 94
|
Can you please tell me how to reconfigure amqsput with a bigger value??
MQMD node is available in 6.1.0.2.
Thanks a lot in advance..
Thanks & Regards,
Sarath |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Dec 09, 2008 5:05 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Download support pack IH03 (RFHUtil) and be done with it!  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Vitor |
Posted: Tue Dec 09, 2008 5:13 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
sarathmattam wrote: |
Can you please tell me how to reconfigure amqsput with a bigger value?? |
Vitor wrote: |
Recompile it with a bigger value |
I think that's as clear as it gets really. The APR will have detailed instructions if you're unsure.
sarathmattam wrote: |
MQMD node is available in 6.1.0.2. |
Really? Shows what I know & doesn't appear in my copy of 6.1.0.3. Is it a support pac / other download? Got a link? How do you manipulate the message body & other headers (which is a possible cause of your subscription problems)? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqmatt |
Posted: Tue Dec 09, 2008 5:19 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
Sarathmattam is probably referring to the MQHeader node. |
|
Back to top |
|
 |
sarathmattam |
Posted: Tue Dec 09, 2008 5:19 am Post subject: |
|
|
Voyager
Joined: 05 Sep 2008 Posts: 94
|
Here when am trying to connect to RfhutilC, its giving an error saying imqc23vn.dll file is missing.. When i searched for it, i got replies like its because of the MQ Client is not present .. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Dec 09, 2008 5:27 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqmatt wrote: |
Sarathmattam is probably referring to the MQHeader node. |
Again I repeat - shows what I know. Had no clue this node existed when I woke up this morning (and failed entirely to notice it in the Toolkit when I was looking for this MQMD node). I am enriched.
But this does underline my point - how do you manipulate the RFH2 using this node? Wouldn't a Compute be a better bet? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Dec 09, 2008 5:32 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
sarathmattam wrote: |
Here when am trying to connect to RfhutilC, its giving an error saying imqc23vn.dll file is missing.. When i searched for it, i got replies like its because of the MQ Client is not present .. |
I'm inclined to agree that client is not present on the box you're using. This implies you should be using Rfhutil. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
sarathmattam |
Posted: Tue Dec 09, 2008 5:46 am Post subject: |
|
|
Voyager
Joined: 05 Sep 2008 Posts: 94
|
Actually as per our configuration, this node will just add the MQMD header. But you have some more features like MQRFH2 header and all..
Then, i didnt get uyour last reply about Rfhutil.. Can i Rfhutil to connect to a unix box from windows??
Thanks & Regards,
Sarath |
|
Back to top |
|
 |
Vitor |
Posted: Tue Dec 09, 2008 6:17 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
sarathmattam wrote: |
Actually as per our configuration, this node will just add the MQMD header. But you have some more features like MQRFH2 header and all.. |
My point concerned subscribing using a message with nothing but an MQMD. This may or may not be relevant.
sarathmattam wrote: |
Then, i didnt get uyour last reply about Rfhutil.. Can i Rfhutil to connect to a unix box from windows?? |
No, but if the client isn't installed nothing else can either!
I meant that if you can't client onto a box, direct connection (and remote communication) would seem to be a logical next step. Unless the client is installed, but in a location your user id doesn't reference. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Dec 09, 2008 8:48 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
sarathmattam wrote: |
Then, i didnt get uyour last reply about Rfhutil.. Can i Rfhutil to connect to a unix box from windows??
Thanks & Regards,
Sarath |
You can use RFHUtilc to connect from Windows to a Unix qmgr. However you need to have the MQ Client installed. You can download it (the MQ Client is now a support pack) from the support pack page.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|