|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Asynchronous/synchronous action calls |
« View previous topic :: View next topic » |
Author |
Message
|
manoj |
Posted: Sat Jan 11, 2003 1:46 pm Post subject: Asynchronous/synchronous action calls |
|
|
 Master
Joined: 30 Jan 2002 Posts: 237 Location: Virgina
|
Hi,
any body knows whether the action call "ProcessInstance.start2(rwc)" is an asynchronous call or not.
over a peiod of 6 months we 've observerd (at least 3 times) "start2" returns true and the process is never started.
appreciate any help
thx _________________ -manoj |
|
Back to top |
|
 |
jmac |
Posted: Mon Jan 13, 2003 9:08 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
manoj:
I am assuming here that by true you mean that you are not throwing an exception here. The ProcessInstance.start2 returns void.
If this is the case, that you are getting an rc value of 0 (i.e. no FmcException thrown) then I believe this would be a bug and should be reported. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
manoj |
Posted: Mon Jan 13, 2003 10:25 am Post subject: |
|
|
 Master
Joined: 30 Jan 2002 Posts: 237 Location: Virgina
|
You r right , if i get an exception in "start2(rwc)" , in my API i return false
otherwise true....
But if the call "start2(rwc)" is asynchronous then MQ WF will not throw an exception. Then i can safely assume that some other point of time the process will be started.
thx _________________ -manoj |
|
Back to top |
|
 |
jmac |
Posted: Mon Jan 13, 2003 10:51 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
I believe the call is synchronous. I.E. you do not get control back until the instance.start2() method has completed. _________________ John McDonald
RETIRED |
|
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
|
|
|
|