|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
API Exit Instances |
« View previous topic :: View next topic » |
Author |
Message
|
Jeeva |
Posted: Sat Apr 30, 2005 7:22 am Post subject: API Exit Instances |
|
|
Novice
Joined: 16 Feb 2005 Posts: 12 Location: India
|
Hi All,
I have an API Exit to track some my MQ messages. When I deploy the API Exit, it starts more than one instances. I am trying to use the common ExitUserArea to transfer some information between the API Calls but due to this several instances I could not acheive this.
Is there anyway to restrict the number instances starting up when the API Exit laoding.
I am using C for windows to create the API Exit.
Throw some light on this, If you have come across this situation.
Thanks
Jeeeeva |
|
Back to top |
|
 |
clindsey |
Posted: Sun May 01, 2005 7:28 am Post subject: |
|
|
Knight
Joined: 12 Jul 2002 Posts: 586 Location: Dallas, Tx
|
The API Exit is a shared library. Each separate process that connects to a queue manager will load the shared library. There is only a single copy of the executable code section in memory but each process gets it's own copy of the data section. You need to implement a global IPC mechanism, like shared memory, and access it from the exit.
Charlie |
|
Back to top |
|
 |
Vijay Kumar P |
Posted: Thu Jul 07, 2005 1:29 am Post subject: API Exit is a OS Shared Object |
|
|
Novice
Joined: 24 Jan 2005 Posts: 10
|
Hello,
We cannot restrict the shared object to instantiate when there is a request.
you can do it through putting explicit condition inside the API exit and return / supress the functions that may get executed further and come out the current execution of API Exit Instance.
When there is an event/request the Shared Object is to give copy of executable code with data segments.
Regards,
Vijay. |
|
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
|
|
|
|