I have to handle DB time out in bpel when database is not responding within 4 seconds. How can i perform this db time out?
Please suggest any useful information and kindly explain in details.
Thanks in Advance
Edited by: 997123 on 09-May-2013 06:47
design the bpel processes like the below given.
1. Create a new bpel processe in asynch call the db adapter and throw the exception
2. Create a new bpel processes in synch call the asynch bpell processes in pick activity in onMesage set a timeout and terminate the processes.
Create an async BPEL process in which call to DB is made.
Create a sync BPEL process in which call to async BPEL process is made
configure pick activity to receive the response of async BPEL process and in onAlarm branch set the timeout value to 4 secs.
Hope this helps.
While invoking DBAdapter, How can i handle this exception. And more ever how can i delay the DB response. I am unable to do this. Can you please expain it in details.
Please suggest me what to do? By which fault handler i can catch this DB time out exception in bpel while invoking DB.
Thanks in Advance,
Edited by: 997123 on 03-Jun-2013 22:22