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 » trigger different processes from the application program

Post new topic  Reply to topic
 trigger different processes from the application program « View previous topic :: View next topic » 
Author Message
srinivasmr
PostPosted: Sun Aug 21, 2005 9:10 pm    Post subject: trigger different processes from the application program Reply with quote

Newbie

Joined: 08 Aug 2005
Posts: 5

hi
im workin on C/LINUX pltform.my idea is to use a single queue for multiple clients for a single server.so i went on to create dynamic queues.
my program reads the msg and deceides to which client the msg shld be sent. i want to know how to set the APPLICID(that defines a particular client ) for all the clients from the aplication prgrm .

plz help me out.

rgds
srinivas
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Mon Aug 22, 2005 12:54 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

i do not understand.

if you want to use a single queue, why do you have to use dynamic queues?


applicid is part of the process definition, not the queue. do you want to trigger the dynamic created queues?

maybe you should tell more detailes about your application design
_________________
Regards, Butcher
Back to top
View user's profile Send private message
srinivasmr
PostPosted: Mon Aug 22, 2005 1:22 am    Post subject: triggering different process frm the application prgm Reply with quote

Newbie

Joined: 08 Aug 2005
Posts: 5

here is my overall design

i hav two servers sv1 & sv2 .sv2 has n clients.
sv2 reads the msg from sv1 .

depending on the msg sv2 has to route it to the corresponding client.
iin my case sv2 has to trigger a application inthe corresponding client.
in order to use the resources effectively instead of creating queues for each cliient i
create a single dynamic queue when sv2 has to trigger a particular client(out of n clients) application .

my questiion is how to refer to that particular client while triggering frm my application prgm?
if thers no solution for this can u plz suggest a method to use resources efectively.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Aug 22, 2005 3:13 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

So, you want the client application to be triggered? With information about a new dynamic queue that the client application doesn't know about already?

Most people solve this problem the other way around, as a request/reply process. The client application starts up, creates the dynamic queue, and sends that in the Reply To Queue Field of a request, and the server program responds to that queue based on the field of the message.

But you could do it "backwards" - but you will have to use a fake kind of triggering. Start a trigger monitor on an initq, but do not enable the "destination" queue for triggering - then manually create trigger messages (that contain all the information in MQTMC/MQTMC structure). Then the trigger monitor will launch whatever program is in the MQTMC/MQTMC2 structure with whatever parameters you want - the dynamic queue name would be one.

But then the "server" program has to know what the client program is.
_________________
I am *not* the model of the modern major general.
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 » trigger different processes from the application program
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.