Author |
Message
|
suffolk |
Posted: Mon Mar 03, 2008 6:52 pm Post subject: Simple Message Routing |
|
|
Novice
Joined: 03 Mar 2008 Posts: 24
|
Hi, I am relatively new to Message Broker(MB) and currently tasked to do some simple UAT test cases on message routing in MB.
I've read the redbooks and it's really confusing, isn't there a simple and easy way to test message routing?
Thanks in advance to the experts who's going to help me with this. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Mar 03, 2008 6:54 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Have you looked at the samples yet? _________________ MQ & Broker admin |
|
Back to top |
|
 |
suffolk |
Posted: Mon Mar 03, 2008 8:26 pm Post subject: |
|
|
Novice
Joined: 03 Mar 2008 Posts: 24
|
Thanks for the reply. Did opened up some samples but got confused easily. For the UAT, I started with the mqsilist to get the listing of brokers followed by starting the associated queue manager, configuration manager and then broker. I went to the ibm information library to see putting and getting test messages in MB but was shown the only option of using the toolkit. Is there a method for me to test the put and get of messages in MB using commands?
Thanks again. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Mar 03, 2008 9:01 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
suffolk wrote: |
Is there a method for me to test the put and get of messages in MB using commands? |
If you mean line commands, that's called WebSphereMQ and you will probably need to create your own messages.
It will be much easier to use support pack RFHUtil(c) IH03 from the MQ/broker support pack page.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
suffolk |
Posted: Mon Mar 03, 2008 9:05 pm Post subject: |
|
|
Novice
Joined: 03 Mar 2008 Posts: 24
|
For line commands, are you referring to amqsput and amqsget? Thanks. |
|
Back to top |
|
 |
AkankshA |
Posted: Mon Mar 03, 2008 10:13 pm Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
You are looking for routing of messages using MB...
Routing and transformation of msgs is done using eSQL/JAVA in MB toolkit...
in order to put and get test messages through MB you need to create message flows...
List down the exact expectations of UAT if u can... _________________ Cheers |
|
Back to top |
|
 |
Vitor |
Posted: Tue Mar 04, 2008 1:27 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
suffolk wrote: |
For line commands, are you referring to amqsput and amqsget? Thanks. |
Not commands but sample programmes.
with fjb_saper that you're better off with the support pac because it includes RFH2 support, and that will make your life a lot easier in the WMB world.
To touch back on your original question the simple, easy and pretty much only way to test message routing in WMB is to put a message in and see how it routes it!
(Routing in most solutions being based on message content one way or the other you see) _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
suffolk |
Posted: Tue Mar 04, 2008 4:24 am Post subject: |
|
|
Novice
Joined: 03 Mar 2008 Posts: 24
|
Hi all Bosses,
I tried to look for a solution in MB Support but found out that RFHUtil is only available for version 6. We are currently using v5 with CSD06.
As AkankshA suggest, the expectations for the MB UAT is very simple, just wanted to make sure that routing works.
Is there any solutions to do it using command line only (HP/UX) and using existing broker, configuration manager and message flow to create the UAT test case?
Many thanks. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Mar 04, 2008 4:28 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
RFHUtil will work with MQ v5.
The SupportPac MA0T will work with MQ v5. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Mar 04, 2008 4:30 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
suffolk wrote: |
I tried to look for a solution in MB Support but found out that RFHUtil is only available for version 6. We are currently using v5 with CSD06. |
No it's not, been available for years & works fine with WMQ (which is what you need) for all versions that are not ridiculously old. And might work on those with a bit of luck.
suffolk wrote: |
Is there any solutions to do it using command line only (HP/UX) and using existing broker, configuration manager and message flow to create the UAT test case?
|
If you're looking for command line access, look into the q or qload support pacs. These will load queues from the command line, and from there into your flow.
Nothing I'm aware of will "reverse engineer" messages from the message flow and load them up. Something like LoadRunner can generate messages from a template file and insert variable to create a test pack, but the version I saw wasn't command line. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
suffolk |
Posted: Tue Mar 04, 2008 4:55 am Post subject: |
|
|
Novice
Joined: 03 Mar 2008 Posts: 24
|
Hi, I tried to suggest using toolkit but was rejected, even tried to suggest using the enqueue but was also turned down. My team insisted on command line only and if possible to use back existing broker, config manager and message flow. Can any experts direct me in the right direction or resource and out motto is simplicity is beauty. Thanks a million. |
|
Back to top |
|
 |
suffolk |
Posted: Tue Mar 04, 2008 5:35 am Post subject: |
|
|
Novice
Joined: 03 Mar 2008 Posts: 24
|
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Mar 04, 2008 5:41 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
It doesn't seem to have allowed you to post a link.
Again, I'd recommend MA0T from http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27007197#1
And the differences between MQ v6 and MQ v5 are very minimal from an application perspective. The MQ API hasn't changed since the release of MQ v5.0.0.0
But you really should be running on MQ v6. On every platform other than zOS, MQ v5.3 is out of support... and on zOS it goes out of support *next month*. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Mar 04, 2008 6:00 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
suffolk wrote: |
motto is simplicity is beauty |
My motto is "use this or I'll trout you".
Anything that workes on v6 will probably work on v5 - certainly the various support pacs which have been suggested to you all will.
But unless you move to v6 quickly your motto is like to become "we were fine until we needed support"  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Mar 04, 2008 6:02 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
It's suitible for verifying the supplied sample application, not testing yours. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|