Monitor a mule process from another mule flow -



Monitor a mule process from another mule flow -

i have process reads file , uploads database. flow goes below.

file connector processing within for-each loop (update database)

the problem above approach @ time when exception occurs, processing stops @ record , rest of records not processed. work around, have changed flow below:

file connector for each - within for-each flow-ref placed phone call separate flow processing.

the thing noticed that, @ point of calling new flow, separate threads used processing, due exception not cause records fail. facing difficulty, after processing completes, need initiate study finish processing details (no of records processed, rejected, etc). since records processed asynchronously in different threads, not able figure out when processing completed. there way monitor whether processing finish mule flow, can generate study when complete?

at point of calling new flow, separate threads used processing

a flow-ref doesn't imply new thread: can tune processing-strategy of ref-ed flow forcefulness synchronous processing.

with this, you'll able remain synchronous, have custom look strategy in ref-ed flow , accomplish goal of not breaking processing when error occurs.

mule mule-studio

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -