hi SOA experts,
This can be a common question for 10g and 11g both.
In BPEL, we always use static partner link location (eg) file adapter location.
Is there any ways to make this configurable dynamically. If so, how ?
Let's say we are doing File Adapter Outbound Operation. When we configure the File adapter in our composite we give the directory and the file name.
we can still change these values at runtime based on our requirement i.e., dynamically. Go to the properties of the invoke activity which calls the File Adapter partner link.
Find the properties jca.file.Directory and jca.file.FileName. For these properties you can assign the values either through variables or through expressions.
And these values will be overwritten with the values what you give at the configuration of the file adapter.
Hope this helps...
I am first trying to test your suggestion in 10g.
I don't see a way to edit these properties at runtime. In BPEL console, i can navigate to descriptor and WSDL tab, but unable to see where to edit based on what you mentioned.
Please detail on this.
I am able to get this working in 11g.
properties are at EM (FMW control) and it works if i change at run-time.
I guess this should be standard property in BPEL, so should work in 10g too ? however i don't see a way to change in BPEL console in 10g.
Any comments on this ? We are still using 10g in production environment, so this feature will be useful.
Did u find the properties what i told in the properties of the invoke activity inside the BPEL. That is where we can assign the values to that properties.
we can still change the properties values in the FMW Console, but that is not our intention right...
And coming to 10g, i haven't worked on the same in 10g...sorry...
I have a further question.
How do I make file naming dynamic in 10g (In 11g I see the property).
Assume I don't need any YYYYMMDD format. It could be a string as simple as POOutputFile
What name do you want for the file? POOutputFile.xml
Oracle has given the option to use time stamp in the end so that no 2 files are ever same to avoid error while writing a file in the same directory.
I have not don't this before however if this is present in 11G then it must be possible in 10G too.