ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » newbie help -- please

Post new topic  Reply to topic
 newbie help -- please « View previous topic :: View next topic » 
Author Message
sriniyelimeli
PostPosted: Thu Sep 15, 2005 8:18 pm    Post subject: newbie help -- please Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Fri Sep 16, 2005 3:16 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » newbie help -- please
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.