Hi everyone, 

 

I'm quite new to Apache ODE and mailing lists, hoping for your help. I have
posted a similiar question in the user mailing list, but maybe here is a
better place to ask, as it has something to do with extending ODE.

 

As the title says I'm looking for a way to change service endpoints for BPEL
process instances at runtime. That means that only one instance should be
affected by these changes, not the entire process and the deployment
descriptor. By convention of the project I'm working on, it is not allowed
to write a BPEL-process that looks up service endpoints at a registry
service, put it in an  variable and use it as the dynamic endpoint. The
reason is we want to provide a fault resistant BPEL process execution by
replacing failing or unavailabe service endpoints by working ones with
transparency to the process. So there should be no sign of the "fault
handling" in the BPEL file. Failing services will be detected by a monitor
component, but this is not my part.

 

I have tried to look into the Management API doc for processes and instances
to find a method that can provide a solution, but I had no luck. There are
only methods to get and set endpoints on a process-wide level, on a instance
level however, those methods are not available.

 

It seems to me that the only way to get such a functionality is to extend
the Instance Management API and write those methods myself. If this is
right, can someone please tell me where to start? I think there should be
Java objects representing each BPEL instance, and there are variables
storing the endpoints, so if I change them, I would get the functionality I
need , right?

 

Or maybe there is already a built-in mechanism to do that but I missed it?

 

Any help or comment would be appreciated.

 

 

 

Thank you in advance

 

 

 

Thuy

Reply via email to