Posted: Tue Aug 31, 2004 12:29 am Post subject: Connection pool of workflow
Apprentice
Joined: 20 Jul 2004 Posts: 31
Hi all,
I want to ask if API of workflow use mechanism like connection pool to handle connection with workflow server. For example when I use method logon2 is API will use new connection with server or will check if there connection available and use it. I handled this problem programming by 80%. But I wonder if workflow uses this mechanism
thanks.
MQWF has a 'session' concept. A session is represented via an ExecutionService object. Each execution service has established exactly 0 or 1 session to the server at one time. A program can re-use an execution service to establish a new session with a different userID but only one at a time. So there is no connection pooling here. It is a 1:1 relation between execution service and a session.
Under the covers however a session is using MQ connection(s). And these connections may use connection pooling. But this is infrastructure from the viewpoint of MQWF.
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