Author |
Message
|
lam |
Posted: Mon Nov 20, 2006 2:18 am Post subject: client and queue manager |
|
|
Acolyte
Joined: 09 Nov 2006 Posts: 50
|
hi,
1- Can I install a queue manager on a client websphere MQ without having server (in order to test a program of reading messages in the queue)? (how to make please)
2- can I put messages in the queue manager (who's installed in client websphere MQ) directly without having a server who send messages?
support my questions please, I am right a beginner  |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Nov 20, 2006 2:21 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
No, to both. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
nathanw |
Posted: Mon Nov 20, 2006 2:24 am Post subject: |
|
|
 Knight
Joined: 14 Jul 2004 Posts: 550
|
the whole point of client is to allow an application to connection a remote queue manager without having to have server installed on the application.
think of it along the lines of Toad and Oracle ie you use toad to access the Oracle tables etc to run your manipulations.
It is a client! _________________ Who is General Failure and why is he reading my hard drive?
Artificial Intelligence stands no chance against Natural Stupidity.
Only the User Trace Speaks The Truth  |
|
Back to top |
|
 |
lam |
Posted: Mon Nov 20, 2006 4:36 am Post subject: |
|
|
Acolyte
Joined: 09 Nov 2006 Posts: 50
|
ok thanks
now I want to execute an application to read queue, so I ask for you to show me the elemenst that I have to install to execute my programme in a websphere MQ envirenement
thanks a lot |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Nov 20, 2006 4:39 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Okay, you're new to MQ and new to MQSeries.net.
Go read the documentation.
Read it again.
If you have tried something, specific, and you have gotten a specific error, then
a) Go read what the documentations says on the error
b) Go read it again
c) Use the "search" button here to find out what else has been done when other people get that error
d) THEN ask a question, and be SPECIFIC.
I don't think anyone here is willing to provide you free and personalized training on WMQ - simply because "you're new to MQ".
Read, try, think, read, learn! _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Nov 20, 2006 4:47 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
lam wrote: |
ok thanks
now I want to execute an application to read queue, so I ask for you to show me the elemenst that I have to install to execute my programme in a websphere MQ envirenement
thanks a lot |
I think you answered your own question here:
http://www.mqseries.net/phpBB2/viewtopic.php?t=33391&highlight=
You need a client and something to client onto. Or just connect straight to the something; you are empowered with choice.
And manuals. These will help you decide.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Nov 20, 2006 10:15 am Post subject: |
|
|
Guest
|
As to the original post:
1- Can I install a queue manager on a client websphere MQ without having server (in order to test a program of reading messages in the queue)? (how to make please)
A queue manager is an instance of the MQ server. The queue manager owns the objects (queues, for example).
If you have both a server and client software installed on the same platform (same instance of the operating system), you can run client applications to test putting messages to a server running on another platform or instance the operating system.
2- can I put messages in the queue manager (who's installed in client websphere MQ) directly without having a server who send messages?
No. If your applications is running on the same platform (same instance of the operating system), it connect directly to the queue manager on the same platform where the queue manager is running.
amqsput (on the server) is an applications supplied with MQ (for mid-range platforms) to test putting messages to local queue managers (same instance of the operating system). amqsputc (also supplied) is used to test putting messages from a client-enabled platform to a queue on a queue manager across a network connection.
support my questions please, I am right a beginner.
Everyone starts at the beginning. These are good questions. |
|
Back to top |
|
 |
lam |
Posted: Tue Nov 21, 2006 4:06 am Post subject: |
|
|
Acolyte
Joined: 09 Nov 2006 Posts: 50
|
thank u a lot
I installed websphere MQ server for windows and I create a queue manager and a queue where I put my first message. now I try to execute my first program to read queue,but I don't found the file <cmqc.h> for MQI to connect to the manager queue
where can I found it please???????? to build the programme
thanks again |
|
Back to top |
|
 |
nathanw |
Posted: Tue Nov 21, 2006 4:18 am Post subject: |
|
|
 Knight
Joined: 14 Jul 2004 Posts: 550
|
Ok if this is a vanilla install and you havent changed it around too much there is a folder called tools which will contain folders with sample programs and code within
on my vanilla install it is here
Code: |
C:\Program Files\IBM\WebSphere MQ\Tools |
Look in teh appropriate language folder and you will find teh include and sample folders _________________ Who is General Failure and why is he reading my hard drive?
Artificial Intelligence stands no chance against Natural Stupidity.
Only the User Trace Speaks The Truth  |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Nov 21, 2006 9:50 am Post subject: |
|
|
Guest
|
cmqc.h is a header file. CMQC contains function prototypes, data types, and named constants for the main MQI.
Header files Header files are provided to help you write C application programs that use the MQI.
#include "cmqc.h" in your C program. |
|
Back to top |
|
 |
|