|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
newbie help -- please |
« View previous topic :: View next topic » |
Author |
Message
|
sriniyelimeli |
Posted: Thu Sep 15, 2005 8:18 pm Post subject: newbie help -- please |
|
|
Newbie
Joined: 15 Sep 2005 Posts: 2
|
Dear members,
I am new to MQ. Can anybody please throw some light on using c++ with MQ. I am trying to write a client/server program. The client program will pass the address id to the server, server has to pick up the address id passed from client and query the database and return the details of the address, client has to display the address details. As far as i have understood i will have to do the following.
1) Create a queue (say Q1)
2) Client program will write the message to the queue (Q1), this message will contain the address id.
3) server program reads the message from the queue and gets the address id from the message , the server program will query the database and again puts a message in the queue which contains the address details
4) client will pick from the message which contains the address details and displays to the user.
Am i correct in my understanding, how can i achieve this functionality, please help me. |
|
Back to top |
|
 |
wschutz |
Posted: Fri Sep 16, 2005 3:16 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
(1) Please don't double post your questions.
(2) You should start by looking at the sample programs that come with MQ and the "repository" button at the top of this page (there also sample programs on the IBM web site) http://www.developer.ibm.com/isv/tech/sampmq.html
(3) Please take some time to read the documentation, especially the MQ programming guide(s).
(4) At the end, you probably want to write a program that gets it's replies from dynamic queues..again, the samples (like amqsreq / amqsecha) can help you here. _________________ -wayne |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|