on 12-30-2008 10:46 AM
Hi,
I have requirement where I need to send messages to multiple receivers and capture reponse back synchronously in BPM. Suppouse when I send a message to a receiver which is down I am getting Request Time Out Exception in BPM. Send Synch is inside Block. Can it process rest of the messages or not. Is there any way where can I catch Exception cases and process rest of the messages sucessfully. Appreciate for your response.
Thanks,
Rao.Mallikarjuna
In the block mode, use ParForEach and not ForEach. This way the processing of all the messages would be in parallel and use the deadline branch in the block for handling the timeout exception.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not sure Block in (par)foreach mode is the best option for multiple synchronous calls.
Anyway, you can always add a exception branch within your block and catch the exception from the send step. If you just want the next steps to continue, you can just do nothing in the exception branch (or maybe log an error message).
Regards,
Henrique.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.