Author |
Message
|
samtel143 |
Posted: Thu Aug 14, 2008 11:19 am Post subject: Help needed on MQClient Windows Server |
|
|
Newbie
Joined: 14 Aug 2008 Posts: 8
|
I am new to websphere
I need to create .NET webservice to put the request message and get the response message.
I have installed MQClient 6.0 in my local machiene. In that i am unable to see MQExplorer to see or to create queues and queue manager.
How to start with MQClinet. what do i need to ask my adimin?
Please help me?
we are using windows server. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Aug 14, 2008 2:11 pm Post subject: Re: Help needed on MQClient Windows Server |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
samtel143 wrote: |
I am new to websphere
I need to create .NET webservice to put the request message and get the response message.
I have installed MQClient 6.0 in my local machiene. In that i am unable to see MQExplorer to see or to create queues and queue manager.
How to start with MQClinet. what do i need to ask my adimin?
Please help me?
we are using windows server. |
If you have installed the client only you have no queue manager and as such no queues. For that you need an MQ Server.
The client however allows you to create and link your program that will talk to a QManager on an MQServer. It can then access queues on that qmgr.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
samtel143 |
Posted: Thu Aug 14, 2008 6:58 pm Post subject: Implementation process |
|
|
Newbie
Joined: 14 Aug 2008 Posts: 8
|
HI,
Thanks for the response. I need some other additional info.
1.How to write a program, which continuously monitor the response queue and invokes the process on receiving a message.
Here our requirement is, once we send the message to a queue, some other application will process this msg and puts the response into response queue at some time. So plz provide implementation details. |
|
Back to top |
|
 |
David.Partridge |
Posted: Thu Aug 14, 2008 11:28 pm Post subject: |
|
|
 Master
Joined: 28 Jun 2001 Posts: 249
|
Go on an MQ Programming training course - it's clear you need this. We can't train you to code MQ applications in a few quick posts. _________________ Cheers,
David C. Partridge |
|
Back to top |
|
 |
zpat |
Posted: Fri Aug 15, 2008 12:22 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Actually IBM have provided a very nice trigger monitor program for .Net which will listen on queues for you.
runmqdnm
It takes away much of the complexity for a .NET responder.
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.amqzag.doc/fa15930_.htm
It's really good, can be multi-threaded etc. I wish IBM would do the same in Java.
If you just want to consume messages, this program does all the MQI calls for you. If you want to reply then you will have to code that part which would probably best be done with a MQPUT1 call.
Use the replytoqname from the request message.
---
This is a server-side program. Sorry - it doesn't do the client-side but it still may be useful. |
|
Back to top |
|
 |
David.Partridge |
Posted: Fri Aug 15, 2008 12:28 am Post subject: |
|
|
 Master
Joined: 28 Jun 2001 Posts: 249
|
zpat - I learn something new every day - thanks for the pointer to the .NET trigger monitor (even though I don't use .NET). _________________ Cheers,
David C. Partridge |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Aug 15, 2008 1:03 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
ZPAT it's called a MessageListener in JMS... and it works as well client side as server side. If you use it clientside you should couple it to an ExceptionListener on the connection...
zpat wrote: |
This is a server-side program. Sorry - it doesn't do the client-side but it still may be useful. |
You should find an equivalent in the XMS implementation... (.NET client side + XMS)
And you can still use the regular runmqtrm or runmqtrc trigger monitors to trigger a java/JMS program...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|