By default no composite name is set when a SCA composite is executed. For runtime monitoring and tracking purposes it might be useful to set a custom name at design time for your SCA composite. Especially, when the number of instances increases in production.
By using embedded Java for BPEL components and XPath for Mediator components you are able to manipulate the title of a SCA composite during design time.
XPath for Mediator components:
Use the the following XPath expression in an Assign value dialog when you define a routing rule.
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:
(Ok..here it is my first real blog-posting. Any comments on the layout are welcome)