By default no composite name is set when a SOA componenet gets executed.
XPath for Mediator components:
Use the the following XPath expression in an Assign value dialog when you define a routing rule.
med:setCompositeInstanceTitle(title string)
and use the following target tracking.compositeInstanceTitle.
Note: this property will not appear in the property selection dialog, but can be used though.
Java for BPEL components
Add an Embedded Java activity inside your process flow and add the following function to it:
setCompositeInstanceTitle(title string);
for example ,
In the java embeding add the following code ,
System.out.println("Hello, World 11 "+ new java.util.Date());
setCompositeInstanceTitle("Hello, World 11 "+ new java.util.Date());
Reference
http://docs.oracle.com/cd/E15523_01/integration.1111/e10226/soacompapp_mang.htm
For 10g use
System.out.println("Hello, World 11 "+ new java.util.Date());
setTitle("Hello, World 11 "+ new java.util.Date());
No comments:
Post a Comment