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 » API Exit Instances

Post new topic  Reply to topic
 API Exit Instances « View previous topic :: View next topic » 
Author Message
Jeeva
PostPosted: Sat Apr 30, 2005 7:22 am    Post subject: API Exit Instances Reply with quote

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
View user's profile Send private message
clindsey
PostPosted: Sun May 01, 2005 7:28 am    Post subject: Reply with quote

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
View user's profile Send private message
Vijay Kumar P
PostPosted: Thu Jul 07, 2005 1:29 am    Post subject: API Exit is a OS Shared Object Reply with quote

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

MQSeries.net Forum Index » IBM MQ API Support » API Exit Instances
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.