soa suite - Invoke stored procedure through DBAdapter in a non blocking way -


i understand how can invoke through bpel stored procedure in non-blocking way. concern have stored procedure (in dbadpater) i'm invoking, takes time (around 30 minutes) , cannot wait until finishes.

i'm trying setting in composite application invoke property "nonblockinginvoke" doesn't work, adapter blocking until respsonse.

thanks.

nonblockinginvoke use in flow when want separate thread of execution sync invoke branch, doesn't block other flows. flow cooperative parallel - not true parallel. sync invoke still blocks during call. read more here.

anyway, 1 solution problem have new composite calls async composite uses db adapter execute stored proc. so, new service calls other service async, won't block - service calling db adapter blocks, @ point, invoker free. it's not bad idea wrap db adapter calls in own composite decouple/isolate true service implementation db service interface - can cahange.


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -