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 » General IBM MQ Support » Urgent One

Post new topic  Reply to topic
 Urgent One « View previous topic :: View next topic » 
Author Message
Priya
PostPosted: Thu Mar 21, 2002 5:39 pm    Post subject: Reply with quote

Apprentice

Joined: 20 Mar 2002
Posts: 26

Hi
There is an Adapter program which takes the Request XML message from the Input Queue of the Queue Manager and puts the reply XML message back to the out put Queue of the same Queue Manager. Adapter program does not need to run all the time. So I guess I have to do the following…

I have to write a GetMessage Application which retrieves the message from the input queue and send it to the Adapter . How GetMessage Application will get called automatically (from the Adapter or by trigger ?).

Thanks
Priya
Back to top
View user's profile Send private message
StefanSievert
PostPosted: Thu Mar 21, 2002 6:35 pm    Post subject: Reply with quote

Partisan

Joined: 28 Oct 2001
Posts: 333
Location: San Francisco

Hi,
why don't you just trigger the adapter program when a message arrives on your queue? See the application programming guide for a detailed explanation of triggering, if you need more info.
Hope that helps,
Stefan

_________________
Stefan Sievert
IBM Certified * WebSphere MQ
Back to top
View user's profile Send private message
Priya
PostPosted: Fri Mar 22, 2002 5:12 am    Post subject: Reply with quote

Apprentice

Joined: 20 Mar 2002
Posts: 26

Thanks for you reply.

If we trigger the Adapter program, Adapter program should call the 'GetMessage' application to retrieve the XML message from the queue. Am I right?

Please help me out.

Thanks
Priya
Back to top
View user's profile Send private message
StefanSievert
PostPosted: Fri Mar 22, 2002 12:25 pm    Post subject: Reply with quote

Partisan

Joined: 28 Oct 2001
Posts: 333
Location: San Francisco

Priya,
you wrote
Quote:

On 2002-03-21 17:39, Priya wrote:
There is an Adapter program which takes the Request XML message from the Input Queue of the Queue Manager and puts the reply XML message back to the out put Queue of the same Queue Manager.

I am a little confused about what that actually means. I have read it so as your 'adapter program' connects to the queue manager, opens the queue, gets XML the message, processes it and then puts the reply message to another queue. And that's a perfectly valid model for an application servicing requests off a queue.
Now, if it is like I describe, why would you want to have a separate 'GetMessage' application, what do you mean by it?
Please clarify your scenario, what programs you already have and what they do so we can better understand and help you. Also, please mention programming languages, operating system, MQ version+CSD levels, if you have specific error situations.
HTH,
Stefan

_________________
Stefan Sievert
IBM Certified * MQSeries

[ This Message was edited by: StefanSievert on 2002-03-22 12:25 ]
Back to top
View user's profile Send private message
Priya
PostPosted: Sat Mar 23, 2002 2:29 pm    Post subject: Reply with quote

Apprentice

Joined: 20 Mar 2002
Posts: 26

Yeah.. You are right. There is a small change in my previous explanation.

There is a program X, which retrieves the message from the queue and call adapter program, processes the message and put the reply back to another queue. Which is a good design, (i) Queue Manager triggers the program X every time message arrives on the queue – so multiple instance of the program will be running if the queue receives more messages (ii) the Program X will be running all the time waiting for the message in the queue. Once it gets the message, process it and put the message back to another queue and retrieve the next message…

Please help me out...
Thanks
Priya
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Urgent One
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.