Pick activity is very important in BPEL. We use this
activity in following cases.
- When we call asynchronous service and we need response back in certain time frame otherwise we need to throw exception.
- When we want to have multiple entry point for any composite. E.g. when we want our process when it is invoked by client or when any message is put to JMS queue by client.
Pick activity has two branches, OnMessage Branch and
OnAlarm Branch which are explained below.
Out of these two branches, only one will execute.
OnMessage is same as Receive activity. It is used when we
need to receive message from external system.
OnAlarm branch is used when we want to specify expiry
time.
Hi Vivek,
ReplyDeleteI need your help.
for below case
Hi
sid,marks
1,77
1,55
2,99
2,77
Can anyone tell me how to solve this, in the above csv you have 2 records with same sid,now I want to add marks of same id and store it in different student tables.
please help on this one.
Thanks Vivek
This looks simple. What issue you are facing ?
DeleteHi Vivek,
ReplyDeleteHow to compare the records in file adapter. Do you have any sample code to share with me. It will be very helpful to me.
Thanks Vivek.
I am not sure if file adapter has provision to compare the records. I will check and let you know.
DeleteIf adapter can't compare the records, you can definitely do it in BPEL.